diff options
| author | Alexander Potapenko <glider@google.com> | 2013-02-14 12:37:17 +0000 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2013-02-14 12:37:17 +0000 |
| commit | 594d99588be93b93e5621803a50e302a92b778e7 (patch) | |
| tree | afc3a4a5896e073b70afd95e583ea61b0b7ec9bf | |
| parent | a5b58f9b3bf81269cc930d6f2da4609a4eedbdaf (diff) | |
| download | bcm5719-llvm-594d99588be93b93e5621803a50e302a92b778e7.tar.gz bcm5719-llvm-594d99588be93b93e5621803a50e302a92b778e7.zip | |
[ASan] Fixed the wrong placement of #include
llvm-svn: 175157
| -rw-r--r-- | compiler-rt/lib/asan/lit_tests/Darwin/reexec-insert-libraries-env.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/lit_tests/Darwin/reexec-insert-libraries-env.cc b/compiler-rt/lib/asan/lit_tests/Darwin/reexec-insert-libraries-env.cc index dc1d98948ba..40a459fd84d 100644 --- a/compiler-rt/lib/asan/lit_tests/Darwin/reexec-insert-libraries-env.cc +++ b/compiler-rt/lib/asan/lit_tests/Darwin/reexec-insert-libraries-env.cc @@ -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() { |

