projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Hide analysis group registration behind a macro, just like pass registration.
[oota-llvm.git]
/
test
/
FrontendC++
/
2010-04-30-OptimizedMethod-Dbg.cpp
1
// RUN: %llvmgcc -g -S -O2 %s -o - | FileCheck %s
2
3
class foo {
4
public:
5
int bar(int x);
6
static int baz(int x);
7
};
8
9
int foo::bar(int x) {
10
// CHECK: {{i32 [0-9]+, i1 true(, i[0-9]+ [^\}]+[}]|[}]) ; \[ DW_TAG_subprogram \]}}
11
return x*4 + 1;
12
}
13
14
int foo::baz(int x) {
15
// CHECK: {{i32 [0-9]+, i1 true(, i[0-9]+ [^\},]+[}]|[}]) ; \[ DW_TAG_subprogram \]}}
16
return x*4 + 1;
17
}
18