]> granicus.if.org Git - clang/commitdiff
Fix test case due to r196394 and improve it to not rely on LLVM code generation either.
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 4 Dec 2013 19:09:19 +0000 (19:09 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 4 Dec 2013 19:09:19 +0000 (19:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196399 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/field-access-debug-info.cpp

index fd899ed71e1c84394f7c45fd83eb5a59cc06778d..aed4ee5f3a7761768e0aca94220090a499825fa5 100644 (file)
@@ -1,8 +1,7 @@
-// RUN: %clang_cc1 -g -S -masm-verbose -o - %s | FileCheck %s
+// RUN: %clang -g -S -emit-llvm %s -o - | FileCheck %s
 
-// CHECK: abbrev_begin:
-// CHECK: DW_AT_accessibility
-// CHECK-NEXT: DW_FORM_data1
+// CHECK: [ DW_TAG_member ] [p] [{{[^]]*}}] [from int]
+// CHECK: [ DW_TAG_member ] [pr] [{{[^]]*}}] [private] [from int]
 
 class A {
 public: