[weak vtables] Remove a bunch of weak vtables
[oota-llvm.git] / utils / unittest / googletest / src / gtest-death-test.cc
index b9693d3a0512004188970ee479c94d311ce67c2f..314dba2116e97145cf895c7eac1228e704fb6888 100644 (file)
@@ -300,6 +300,7 @@ DeathTest::DeathTest() {
   }
 }
 
+// Pin the vtable to this file.
 DeathTest::~DeathTest() {}
 
 // Creates and returns a death test by dispatching to the current
@@ -1037,8 +1038,6 @@ DeathTest::TestRole ExecDeathTest::AssumeRole() {
 
 # endif  // !GTEST_OS_WINDOWS
 
-DeathTestFactory::~DeathTestFactory() {}
-
 // Creates a concrete DeathTest-derived class that depends on the
 // --gtest_death_test_style flag, and sets the pointer pointed to
 // by the "test" argument to its address.  If the test should be
@@ -1095,6 +1094,9 @@ bool DefaultDeathTestFactory::Create(const char* statement, const RE* regex,
   return true;
 }
 
+// Pin the vtable to this file.
+DeathTestFactory::~DeathTestFactory() {}
+
 // Splits a given string on a given delimiter, populating a given
 // vector with the fields.  GTEST_HAS_DEATH_TEST implies that we have
 // ::std::string, so we can use it here.