summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-method.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-01-05 05:48:08 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-01-05 05:48:08 +0000
commitc905b9decd10c0e47282b5b8c012c12968a94015 (patch)
tree92cca368de3977cf6cd5078d8c6262f72af7483f /clang/test/CodeGenCXX/debug-info-method.cpp
parent478b6a47ec9a1aa04d2a4f74831c312197ba6063 (diff)
downloadbcm5719-llvm-c905b9decd10c0e47282b5b8c012c12968a94015.tar.gz
bcm5719-llvm-c905b9decd10c0e47282b5b8c012c12968a94015.zip
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. llvm-svn: 171604
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-method.cpp')
-rw-r--r--clang/test/CodeGenCXX/debug-info-method.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-method.cpp b/clang/test/CodeGenCXX/debug-info-method.cpp
index 13d03e999d6..5221e372106 100644
--- a/clang/test/CodeGenCXX/debug-info-method.cpp
+++ b/clang/test/CodeGenCXX/debug-info-method.cpp
@@ -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();
OpenPOWER on IntegriCloud