summaryrefslogtreecommitdiff
path: root/test/Instrumentation/AddressSanitizer/lifetime.ll
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2014-03-20 11:16:34 +0000
committerAlexander Potapenko <glider@google.com>2014-03-20 11:16:34 +0000
commit90844c477898b64a582886da4a4aeebeed269fb9 (patch)
tree8a1626fee586101488a8a7378ba4722b3480afa6 /test/Instrumentation/AddressSanitizer/lifetime.ll
parentd68ef1a8d725ef8890dbd8ef7a7f202b735e02b1 (diff)
downloadllvm-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.ll')
-rw-r--r--test/Instrumentation/AddressSanitizer/lifetime.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Instrumentation/AddressSanitizer/lifetime.ll b/test/Instrumentation/AddressSanitizer/lifetime.ll
index d80331e387..1961997dc0 100644
--- a/test/Instrumentation/AddressSanitizer/lifetime.ll
+++ b/test/Instrumentation/AddressSanitizer/lifetime.ll
@@ -1,5 +1,5 @@
; Test hanlding of llvm.lifetime intrinsics.
-; RUN: opt < %s -asan -asan-check-lifetime -S | FileCheck %s
+; RUN: opt < %s -asan -asan-module -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"
target triple = "x86_64-unknown-linux-gnu"