diff options
| -rw-r--r-- | clang/test/CodeGenCXX/debug-info-line.cpp | 4 | ||||
| -rw-r--r-- | clang/test/CodeGenObjC/arc-linetable-autorelease.m | 5 | 
2 files changed, 5 insertions, 4 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-line.cpp b/clang/test/CodeGenCXX/debug-info-line.cpp index 11653040109..a1c4ef9eea2 100644 --- a/clang/test/CodeGenCXX/debug-info-line.cpp +++ b/clang/test/CodeGenCXX/debug-info-line.cpp @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -w -debug-info-kind=line-tables-only -std=c++11 -fexceptions -fcxx-exceptions -S -emit-llvm %s -o - -triple %itanium_abi_triple | FileCheck %s -// RUN: %clang_cc1 -w -debug-info-kind=line-tables-only -std=c++11 -fexceptions -fcxx-exceptions -S -emit-llvm %s -o - -triple i686-linux-gnu | FileCheck %s +// RUN: %clang_cc1 -w -debug-info-kind=line-tables-only -std=c++11 -fexceptions -fcxx-exceptions -S -mllvm -no-discriminators -emit-llvm %s -o - -triple %itanium_abi_triple | FileCheck %s +// RUN: %clang_cc1 -w -debug-info-kind=line-tables-only -std=c++11 -fexceptions -fcxx-exceptions -S -mllvm -no-discriminators -emit-llvm %s -o - -triple i686-linux-gnu | FileCheck %s  int &src();  int *sink(); diff --git a/clang/test/CodeGenObjC/arc-linetable-autorelease.m b/clang/test/CodeGenObjC/arc-linetable-autorelease.m index 6812e8a6de8..26a779b8d6d 100644 --- a/clang/test/CodeGenObjC/arc-linetable-autorelease.m +++ b/clang/test/CodeGenObjC/arc-linetable-autorelease.m @@ -30,10 +30,11 @@ NSRect NSMakeRect(CGFloat x, CGFloat y, CGFloat w, CGFloat h);    // CHECK: define {{.*}}_createBezierPathWithWidth    // CHECK: load {{.*}} %path, align {{.*}}, !dbg ![[RET:[0-9]+]]    // CHECK: call void @objc_storeStrong{{.*}} !dbg ![[ARC:[0-9]+]] -  // CHECK: call {{.*}} @objc_autoreleaseReturnValue{{.*}} !dbg ![[ARC]] +  // CHECK: call {{.*}} @objc_autoreleaseReturnValue{{.*}} !dbg ![[ARC1:[0-9]+]]    // CHECK: ret {{.*}} !dbg ![[ARC]]    // CHECK: ![[RET]] = !DILocation(line: [[@LINE+1]], scope: !{{.*}})    return path; -  // CHECK: ![[ARC]] = !DILocation(line: [[@LINE+1]], scope: !{{.*}}) +  // CHECK: ![[ARC]] = !DILocation(line: [[@LINE+2]], scope: !{{.*}}) +  // CHECK: ![[ARC1]] = !DILocation(line: [[@LINE+1]], scope: !{{.*}})  }  @end  | 

