[cfe-commits] r171604 - /cfe/trunk/test/CodeGenCXX/debug-info-method.cpp

David Blaikie dblaikie at gmail.com
Fri Jan 4 21:48:08 PST 2013


Author: dblaikie
Date: Fri Jan  4 23:48:08 2013
New Revision: 171604

URL: http://llvm.org/viewvc/llvm-project?rev=171604&view=rev
Log:
Change test/CodeGenCXX/debug-info-method.cpp an IR (rather than asm) test.

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.

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

Modified: cfe/trunk/test/CodeGenCXX/debug-info-method.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-method.cpp?rev=171604&r1=171603&r2=171604&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info-method.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/debug-info-method.cpp Fri Jan  4 23:48:08 2013
@@ -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();





More information about the cfe-commits mailing list