]> granicus.if.org Git - clang/commitdiff
Change test/CodeGenCXX/debug-info-method.cpp an IR (rather than asm) test.
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 5 Jan 2013 05:48:08 +0000 (05:48 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 5 Jan 2013 05:48:08 +0000 (05:48 +0000)
Referring back to the original commit (r115090) which was a frontend only test
I adjusted this test to verify the frontend change that was made, to emit the
protected access value in the flags metadata field.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171604 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/debug-info-method.cpp

index 13d03e999d639456d48d74276a90ee4fe206e14c..5221e372106f5071e07aceb56baa617c054908c1 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: %clang -fverbose-asm -g -S %s -o - | FileCheck %s
-// CHECK: DW_ACCESS_protected
+// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s
+// CHECK: metadata !"_ZN1A3fooEv", {{.*}}, i32 258
 class A {
 protected:
   int foo();