[llvm-commits] [compiler-rt] r159348 - /compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc
Alexey Samsonov
samsonov at google.com
Thu Jun 28 06:44:27 PDT 2012
Author: samsonov
Date: Thu Jun 28 08:44:27 2012
New Revision: 159348
URL: http://llvm.org/viewvc/llvm-project?rev=159348&view=rev
Log:
[ASan] fix the build - erase second main as we link all test sources together
Modified:
compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc
Modified: compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc?rev=159348&r1=159347&r2=159348&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc Thu Jun 28 08:44:27 2012
@@ -687,9 +687,3 @@
for (size_t i = 0, n = pointers.size(); i < n; i++)
free(pointers[i]);
}
-
-int main(int argc, char **argv) {
- testing::GTEST_FLAG(death_test_style) = "threadsafe";
- testing::InitGoogleTest(&argc, argv);
- return RUN_ALL_TESTS();
-}
More information about the llvm-commits
mailing list