diff options
author | Alexander Potapenko <glider@google.com> | 2014-03-20 11:16:34 +0000 |
---|---|---|
committer | Alexander Potapenko <glider@google.com> | 2014-03-20 11:16:34 +0000 |
commit | 90844c477898b64a582886da4a4aeebeed269fb9 (patch) | |
tree | 8a1626fee586101488a8a7378ba4722b3480afa6 /test/Instrumentation/AddressSanitizer/lifetime-uar.ll | |
parent | d68ef1a8d725ef8890dbd8ef7a7f202b735e02b1 (diff) | |
download | llvm-90844c477898b64a582886da4a4aeebeed269fb9.tar.gz llvm-90844c477898b64a582886da4a4aeebeed269fb9.tar.bz2 llvm-90844c477898b64a582886da4a4aeebeed269fb9.tar.xz |
[ASan] Add -asan-module to the ASan .ll tests.
After the -asan pass had been split into -asan (function-level) and -asan-module (module-level) some of the
tests have silently stopped working, because they didn't instrument the globals anymore.
We've decided to have every test using both passes, irrespective of the presence of globals in it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Instrumentation/AddressSanitizer/lifetime-uar.ll')
-rw-r--r-- | test/Instrumentation/AddressSanitizer/lifetime-uar.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Instrumentation/AddressSanitizer/lifetime-uar.ll b/test/Instrumentation/AddressSanitizer/lifetime-uar.ll index 21eaf7f154..25577de445 100644 --- a/test/Instrumentation/AddressSanitizer/lifetime-uar.ll +++ b/test/Instrumentation/AddressSanitizer/lifetime-uar.ll @@ -1,5 +1,5 @@ ; Test handling of llvm.lifetime intrinsics in UAR mode. -; RUN: opt < %s -asan -asan-use-after-return -asan-check-lifetime -S | FileCheck %s +; RUN: opt < %s -asan -asan-module -asan-use-after-return -asan-check-lifetime -S | FileCheck %s target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" |