diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2018-12-20 10:15:51 +0000 |
|---|---|---|
| committer | Vitaly Buka <vitalybuka@google.com> | 2018-12-20 10:15:51 +0000 |
| commit | cd51ffa29073a5388151cbbe6fd6a28b322892e4 (patch) | |
| tree | 226e227cea37d3305dfcf3a6ac569dc1fab9e151 /compiler-rt/test/asan/TestCases/Linux/odr_c_test.c | |
| parent | deaacc17fefe59f05f08a4af383ef27aa30f7685 (diff) | |
| download | bcm5719-llvm-cd51ffa29073a5388151cbbe6fd6a28b322892e4.tar.gz bcm5719-llvm-cd51ffa29073a5388151cbbe6fd6a28b322892e4.zip | |
[asan] Fix and re-enable few test on Android
llvm-svn: 349736
Diffstat (limited to 'compiler-rt/test/asan/TestCases/Linux/odr_c_test.c')
| -rw-r--r-- | compiler-rt/test/asan/TestCases/Linux/odr_c_test.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/compiler-rt/test/asan/TestCases/Linux/odr_c_test.c b/compiler-rt/test/asan/TestCases/Linux/odr_c_test.c index b1d23493b57..c1423ed30b1 100644 --- a/compiler-rt/test/asan/TestCases/Linux/odr_c_test.c +++ b/compiler-rt/test/asan/TestCases/Linux/odr_c_test.c @@ -1,13 +1,11 @@ // Test that we can properly report an ODR violation // between an instrumented global and a non-instrumented global. -// RUN: %clang_asan %s -fPIC -shared -o %t-1.so -DFILE1 -// RUN: %clang_asan %s -fPIC -shared -o %t-2.so -DFILE2 -// RUN: %clang_asan %s -fPIE %t-1.so %t-2.so -Wl,-R`pwd` -o %t +// RUN: %clang_asan %s -fPIC -shared -o %dynamiclib1 -DFILE1 +// RUN: %clang_asan %s -fPIC -shared -o %dynamiclib2 -DFILE2 +// RUN: %clang_asan %s -fPIE %ld_flags_rpath_exe1 %ld_flags_rpath_exe2 -o %t // RUN: not %run %t 2>&1 | FileCheck %s // -// REQUIRES: x86_64-target-arch -// // CHECK: The following global variable is not properly aligned. // CHECK: ERROR: AddressSanitizer: odr-violation #if defined(FILE1) |

