projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make this test darwin specific.
[oota-llvm.git]
/
test
/
FrontendC
/
2010-06-24-DbgInlinedFnParameter.c
1
// RUN: %llvmgcc -S -O2 -g %s -o - | llc -O2 -o %t.s
2
// RUN: grep "# DW_TAG_formal_parameter" %t.s | count 4
3
// Radar 8122864
4
// XTARGET: x86,darwin
5
static int foo(int a, int j) {
6
int k = 0;
7
if (a)
8
k = a + j;
9
else
10
k = j;
11
return k;
12
}
13
int bar(int o, int p) {
14
15
return foo(o, p);
16
}