r196399 - Fix test case due to r196394 and improve it to not rely on LLVM code generation either.

David Blaikie dblaikie at gmail.com
Wed Dec 4 11:09:19 PST 2013


Author: dblaikie
Date: Wed Dec  4 13:09:19 2013
New Revision: 196399

URL: http://llvm.org/viewvc/llvm-project?rev=196399&view=rev
Log:
Fix test case due to r196394 and improve it to not rely on LLVM code generation either.

Modified:
    cfe/trunk/test/CodeGenCXX/field-access-debug-info.cpp

Modified: cfe/trunk/test/CodeGenCXX/field-access-debug-info.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/field-access-debug-info.cpp?rev=196399&r1=196398&r2=196399&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/field-access-debug-info.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/field-access-debug-info.cpp Wed Dec  4 13:09:19 2013
@@ -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:





More information about the cfe-commits mailing list