diff options
Diffstat (limited to 'test/CodeGenCXX/linetable-fnbegin.cpp')
-rw-r--r-- | test/CodeGenCXX/linetable-fnbegin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGenCXX/linetable-fnbegin.cpp b/test/CodeGenCXX/linetable-fnbegin.cpp index 1f752ff0b4ec..f4cf53b0c5f5 100644 --- a/test/CodeGenCXX/linetable-fnbegin.cpp +++ b/test/CodeGenCXX/linetable-fnbegin.cpp @@ -1,13 +1,13 @@ -// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s +// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s // Test that the line table info for Foo<T>::bar() is pointing to the // right header file. // CHECK: define{{.*}}bar // CHECK-NOT: define // CHECK: ret {{.*}}, !dbg [[DBG:.*]] // CHECK: [[HPP:.*]] = !DIFile(filename: "./template.hpp", -// CHECK: [[SP:.*]] = !DISubprogram(name: "bar", -// CHECK-SAME: file: [[HPP]], line: 22 -// CHECK-SAME: isDefinition: true +// CHECK: [[SP:.*]] = distinct !DISubprogram(name: "bar", +// CHECK-SAME: file: [[HPP]], line: 22 +// CHECK-SAME: isDefinition: true // We shouldn't need a lexical block for this function. // CHECK: [[DBG]] = !DILocation(line: 23, scope: [[SP]]) |