diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2017-11-14 01:30:04 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2017-11-14 01:30:04 +0000 |
commit | 8dd352a12f182cf02d54bfe068f5f1e6b8961250 (patch) | |
tree | bc92ac6c5b29a760b239a2aea8be13da007c7e93 /test/Instrumentation | |
parent | 79f20d27db510a719bc93faa554600081666a8e9 (diff) |
[PM] Port BoundsChecking to the new PM.
Registers it and everything, updates all the references, etc.
Next patch will add support to Clang's `-fexperimental-new-pass-manager`
path to actually enable BoundsChecking correctly.
Differential Revision: https://reviews.llvm.org/D39084
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318128 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Instrumentation')
-rw-r--r-- | test/Instrumentation/BoundsChecking/simple.ll | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Instrumentation/BoundsChecking/simple.ll b/test/Instrumentation/BoundsChecking/simple.ll index 5fae2f48c28..db1e1eeb000 100644 --- a/test/Instrumentation/BoundsChecking/simple.ll +++ b/test/Instrumentation/BoundsChecking/simple.ll @@ -1,4 +1,5 @@ ; RUN: opt < %s -bounds-checking -S | FileCheck %s +; RUN: opt < %s -passes=bounds-checking -S | FileCheck %s target datalayout = "e-p:64:64:64-p1:16:16:16-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" @.str = private constant [8 x i8] c"abcdefg\00" ; <[8 x i8]*> |