projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[llvm-symbolizer] Remove underscores and other C mangling on Windows
[oota-llvm.git]
/
test
/
tools
/
llvm-symbolizer
/
pdb
/
Inputs
/
test.cpp
1
// To generate the corresponding EXE/PDB, run:
2
// cl /Zi test.cpp
3
4
namespace NS {
5
struct Foo {
6
void bar() {}
7
};
8
}
9
10
void foo() {
11
}
12
13
int main() {
14
foo();
15
16
NS::Foo f;
17
f.bar();
18
}
19
20
extern "C" {
21
void __cdecl foo_cdecl() {}
22
void __stdcall foo_stdcall() {}
23
void __fastcall foo_fastcall() {}
24
void __vectorcall foo_vectorcall() {}
25
}