summaryrefslogtreecommitdiff
path: root/test/FrontendC++/2010-04-30-OptimizedMethod-Dbg.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-09-29 21:04:46 +0000
committerDevang Patel <dpatel@apple.com>2010-09-29 21:04:46 +0000
commit9dd2b47d444e310347debcac5cdddedbb22881e6 (patch)
treed676f8365caf6f3e602d0879414a8838dd9dfca5 /test/FrontendC++/2010-04-30-OptimizedMethod-Dbg.cpp
parentb0725316cd1807b954eed4b9966250249d1fd884 (diff)
downloadllvm-9dd2b47d444e310347debcac5cdddedbb22881e6.tar.gz
llvm-9dd2b47d444e310347debcac5cdddedbb22881e6.tar.bz2
llvm-9dd2b47d444e310347debcac5cdddedbb22881e6.tar.xz
Generalize DISubprogram element to encode various flags instead of just one boolean for isArtificial.
This is a backword compatible change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115084 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC++/2010-04-30-OptimizedMethod-Dbg.cpp')
-rw-r--r--test/FrontendC++/2010-04-30-OptimizedMethod-Dbg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/FrontendC++/2010-04-30-OptimizedMethod-Dbg.cpp b/test/FrontendC++/2010-04-30-OptimizedMethod-Dbg.cpp
index 7052dc0dcc..761c0dc097 100644
--- a/test/FrontendC++/2010-04-30-OptimizedMethod-Dbg.cpp
+++ b/test/FrontendC++/2010-04-30-OptimizedMethod-Dbg.cpp
@@ -7,12 +7,12 @@ public:
};
int foo::bar(int x) {
- // CHECK: {{i1 false, i1 true(, i[0-9]+ [^\}]+[}]|[}]) ; \[ DW_TAG_subprogram \]}}
+ // CHECK: {{i32 [0-9]+, i1 true(, i[0-9]+ [^\}]+[}]|[}]) ; \[ DW_TAG_subprogram \]}}
return x*4 + 1;
}
int foo::baz(int x) {
- // CHECK: {{i1 false, i1 true(, i[0-9]+ [^\},]+[}]|[}]) ; \[ DW_TAG_subprogram \]}}
+ // CHECK: {{i32 [0-9]+, i1 true(, i[0-9]+ [^\},]+[}]|[}]) ; \[ DW_TAG_subprogram \]}}
return x*4 + 1;
}