diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-01-05 05:48:08 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-01-05 05:48:08 +0000 |
commit | 5f2bd163107122f8c8ab56ff3975abaa007b4ff0 (patch) | |
tree | eb09921aa1470efb4226ac565fc65816ca9f85b9 | |
parent | 42368b5f28186cf44bee8308164fef4fcd564f72 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171604 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGenCXX/debug-info-method.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/debug-info-method.cpp b/test/CodeGenCXX/debug-info-method.cpp index 13d03e999d..5221e37210 100644 --- a/test/CodeGenCXX/debug-info-method.cpp +++ b/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(); |