diff options
author | Devang Patel <dpatel@apple.com> | 2011-08-17 18:38:44 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-08-17 18:38:44 +0000 |
commit | 3fee10b7d221f1543871d50879cbc250444a925a (patch) | |
tree | e288a6a430caa6efe3955aa8eebd87fcdb63b3a6 | |
parent | 04bc405a291d628586988f0346f586880d8daff2 (diff) | |
download | bcm5719-llvm-3fee10b7d221f1543871d50879cbc250444a925a.tar.gz bcm5719-llvm-3fee10b7d221f1543871d50879cbc250444a925a.zip |
Robustify test.
llvm-svn: 137845
-rw-r--r-- | llvm/test/FrontendC++/2010-02-17-DbgArtificialArg.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/llvm/test/FrontendC++/2010-02-17-DbgArtificialArg.cpp b/llvm/test/FrontendC++/2010-02-17-DbgArtificialArg.cpp index ff45412b441..a2273ae60b1 100644 --- a/llvm/test/FrontendC++/2010-02-17-DbgArtificialArg.cpp +++ b/llvm/test/FrontendC++/2010-02-17-DbgArtificialArg.cpp @@ -1,5 +1,4 @@ -// RUN: %llvmgcc -g -S %s -o - | FileCheck %s -// Here, second to last argument "i32 64" indicates that artificial type is set. +// RUN: %llvmgcc -g -S %s -dA -fverbose-asm -o - | %llc -asm-verbose | FileCheck %s // Test to artificial attribute attahed to "this" pointer type. // Radar 7655792 and 7655002 @@ -10,7 +9,12 @@ public: int foo() { A a; - // Matching "i32 64, metadata !<number>} ; [ DW_TAG_pointer_type ]" - // CHECK: i32 64, metadata {{![0-9]+\} ; \[ DW_TAG_pointer_type \]}} +//CHECK: .ascii "this" ## DW_AT_name +//CHECK-NEXT: .byte 0 +//CHECK-NEXT: ## DW_AT_decl_file +//CHECK-NEXT: ## DW_AT_decl_line +//CHECK-NEXT: ## DW_AT_type +//CHECK-NEXT: ## DW_AT_artificial + return a.fn1(1); } |