From 5f2bd163107122f8c8ab56ff3975abaa007b4ff0 Mon Sep 17 00:00:00 2001
From: David Blaikie <dblaikie@gmail.com>
Date: Sat, 5 Jan 2013 05:48:08 +0000
Subject: [PATCH] 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
---
 test/CodeGenCXX/debug-info-method.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/CodeGenCXX/debug-info-method.cpp b/test/CodeGenCXX/debug-info-method.cpp
index 13d03e999d6..5221e372106 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();
-- 
GitLab