diff options
| author | Dehao Chen <dehao@google.com> | 2015-11-20 18:29:01 +0000 |
|---|---|---|
| committer | Dehao Chen <dehao@google.com> | 2015-11-20 18:29:01 +0000 |
| commit | f735b8d10e4711f3b44e0d5b778feff9ca9f8564 (patch) | |
| tree | d3965ef74943802170fe8bd48331bd6758e2b632 /clang/test/CodeGenObjC | |
| parent | f9a2697e137c1873bff55e27018bd7dc4a2e2405 (diff) | |
| download | bcm5719-llvm-f735b8d10e4711f3b44e0d5b778feff9ca9f8564.tar.gz bcm5719-llvm-f735b8d10e4711f3b44e0d5b778feff9ca9f8564.zip | |
Add -disable-llvm-passes for frontend debug info tests.
Summary: The frontend debuginfo tests should not invoke llvm passes which includes add-discriminators that will change the debug info generated by FE.
Reviewers: dblaikie
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D14848
llvm-svn: 253686
Diffstat (limited to 'clang/test/CodeGenObjC')
| -rw-r--r-- | clang/test/CodeGenObjC/arc-linetable.m | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/clang/test/CodeGenObjC/arc-linetable.m b/clang/test/CodeGenObjC/arc-linetable.m index 22ab1d7688a..877dfdc1221 100644 --- a/clang/test/CodeGenObjC/arc-linetable.m +++ b/clang/test/CodeGenObjC/arc-linetable.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -emit-llvm -fblocks -fobjc-arc -debug-info-kind=standalone -dwarf-version=4 -triple x86_64-apple-darwin10 %s -o - | FileCheck %s +// RUN: %clang_cc1 -emit-llvm -fblocks -fobjc-arc -debug-info-kind=standalone -dwarf-version=4 -disable-llvm-passes -triple x86_64-apple-darwin10 %s -o - | FileCheck %s // Legend: EXP = Return expression, RET = ret instruction @@ -34,9 +34,9 @@ // CHECK: define {{.*}}testCleanupVoid // CHECK: icmp ne {{.*}}!dbg ![[SKIP1:[0-9]+]] -// CHECK: store i32 0, i32* {{.*}}, !dbg ![[STORE8:[0-9]+]] -// CHECK: @objc_storeStrong{{.*}}, !dbg ![[ARC8:[0-9]+]] -// CHECK: ret {{.*}} !dbg ![[RET8:[0-9]+]] +// CHECK: store i32 0, i32* {{.*}}, !dbg ![[RET8:[0-9]+]] +// CHECK: @objc_storeStrong{{.*}}, !dbg ![[RET8]] +// CHECK: ret {{.*}} !dbg ![[RET8]] typedef signed char BOOL; @@ -112,8 +112,6 @@ typedef signed char BOOL; [delegate testVoid :s]; } } - // CHECK: ![[STORE8]] = !DILocation(line: [[@LINE+3]], scope: - // CHECK: ![[ARC8]] = !DILocation(line: [[@LINE+2]], scope: // CHECK: ![[RET8]] = !DILocation(line: [[@LINE+1]], scope: } |

