[compiler-rt] r175157 - [ASan] Fixed the wrong placement of #include

Alexander Potapenko glider at google.com
Thu Feb 14 04:37:17 PST 2013


Author: glider
Date: Thu Feb 14 06:37:17 2013
New Revision: 175157

URL: http://llvm.org/viewvc/llvm-project?rev=175157&view=rev
Log:
[ASan] Fixed the wrong placement of #include

Modified:
    compiler-rt/trunk/lib/asan/lit_tests/Darwin/reexec-insert-libraries-env.cc

Modified: compiler-rt/trunk/lib/asan/lit_tests/Darwin/reexec-insert-libraries-env.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/lit_tests/Darwin/reexec-insert-libraries-env.cc?rev=175157&r1=175156&r2=175157&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/lit_tests/Darwin/reexec-insert-libraries-env.cc (original)
+++ compiler-rt/trunk/lib/asan/lit_tests/Darwin/reexec-insert-libraries-env.cc Thu Feb 14 06:37:17 2013
@@ -1,4 +1,3 @@
-#include <stdio.h>
 // Make sure ASan doesn't hang in an exec loop if DYLD_INSERT_LIBRARIES is set.
 // This is a regression test for
 // https://code.google.com/p/address-sanitizer/issues/detail?id=159
@@ -10,6 +9,7 @@
 // FIXME: the following command line may hang in the case of a regression.
 // RUN: DYLD_INSERT_LIBRARIES=darwin-dummy-shared-lib-so.dylib \
 // RUN:     %t 2>&1 | FileCheck %s || exit 1
+#include <stdio.h>
 #include <stdlib.h>
 
 int main() {





More information about the llvm-commits mailing list