Skip to content
Snippets Groups Projects
Commit 5f2bd163 authored by David Blaikie's avatar David Blaikie
Browse files

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
parent 42368b5f
No related branches found
No related tags found
No related merge requests found
// 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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment