diff options
Diffstat (limited to 'test/CodeGenCXX/debug-info-static-fns.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info-static-fns.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGenCXX/debug-info-static-fns.cpp b/test/CodeGenCXX/debug-info-static-fns.cpp index 3f8d8e8..59c7471 100644 --- a/test/CodeGenCXX/debug-info-static-fns.cpp +++ b/test/CodeGenCXX/debug-info-static-fns.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s +// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -triple x86_64-apple-darwin %s -o - | FileCheck %s namespace A { static int a(int b) { return b + 4; } @@ -7,7 +7,7 @@ namespace A { } // Verify that a is present and mangled. -// CHECK: !DISubprogram(name: "a", linkageName: "_ZN1AL1aEi", +// CHECK: define internal i32 @_ZN1AL1aEi({{.*}} !dbg [[DBG:![0-9]+]] +// CHECK: [[DBG]] = distinct !DISubprogram(name: "a", linkageName: "_ZN1AL1aEi", // CHECK-SAME: line: 4 // CHECK-SAME: isDefinition: true -// CHECK-SAME: function: i32 (i32)* @_ZN1AL1aEi |