projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[llvm-pdbdump] Add support for dumping global variables.
[oota-llvm.git]
/
test
/
DebugInfo
/
PDB
/
Inputs
/
symbolformat.cpp
diff --git
a/test/DebugInfo/PDB/Inputs/symbolformat.cpp
b/test/DebugInfo/PDB/Inputs/symbolformat.cpp
index 237913e7221a2a976f371a03b535058b73752442..5479b717cd9dc7133c5835b8cb4d9253a1a12141 100644
(file)
--- a/
test/DebugInfo/PDB/Inputs/symbolformat.cpp
+++ b/
test/DebugInfo/PDB/Inputs/symbolformat.cpp
@@
-55,6
+55,9
@@
struct MemberTest {
typedef int IntType;
typedef A ClassAType;
+int g_global_int;
+void *g_global_pointer = nullptr;
+
int main(int argc, char **argv) {
// Force symbol references so the linker generates debug info
B b;