repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[rtsan] Add fork/execve interceptors (#117198)
[llvm-project.git]
/
llvm
/
test
/
tools
/
llvm-symbolizer
/
Inputs
/
coff-dwarf.cpp
blob
3a832a9fcff2270fee0b510f0292ec4b6666f172
1
// To generate the corresponding EXE, run:
2
// clang-cl -MD -O2 -gdwarf -c coff-dwarf.cpp && lld-link -debug coff-dwarf.obj
3
4
extern
"C"
int
puts
(
const char
*
str
);
5
6
void
__declspec
(
noinline
)
foo
() {
7
puts
(
"foo1"
);
8
puts
(
"foo2"
);
9
}
10
11
// LLVM should inline this into main.
12
static void
bar
() {
13
foo
();
14
}
15
16
int
main
() {
17
bar
();
18
return
0
;
19
}