diff options
author | Zachary Turner <zturner@google.com> | 2015-02-27 09:15:18 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-02-27 09:15:18 +0000 |
commit | db18f5ca76e4e699598867f67a343d0b01e3a054 (patch) | |
tree | c604fbd488cf1c1c3d6af3b392a4b001f5954aaa /llvm/test/DebugInfo/PDB/Inputs | |
parent | ddc4d085cce9691b70e042dc9e03d795f33225c9 (diff) | |
download | bcm5719-llvm-db18f5ca76e4e699598867f67a343d0b01e3a054.tar.gz bcm5719-llvm-db18f5ca76e4e699598867f67a343d0b01e3a054.zip |
[llvm-pdbdump] Add support for dumping global variables.
llvm-svn: 230744
Diffstat (limited to 'llvm/test/DebugInfo/PDB/Inputs')
-rw-r--r-- | llvm/test/DebugInfo/PDB/Inputs/symbolformat.cpp | 3 | ||||
-rw-r--r-- | llvm/test/DebugInfo/PDB/Inputs/symbolformat.pdb | bin | 143360 -> 35840 bytes |
2 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/PDB/Inputs/symbolformat.cpp b/llvm/test/DebugInfo/PDB/Inputs/symbolformat.cpp index 237913e7221..5479b717cd9 100644 --- a/llvm/test/DebugInfo/PDB/Inputs/symbolformat.cpp +++ b/llvm/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; diff --git a/llvm/test/DebugInfo/PDB/Inputs/symbolformat.pdb b/llvm/test/DebugInfo/PDB/Inputs/symbolformat.pdb Binary files differindex 28832d4090f..53d8a1b31a3 100644 --- a/llvm/test/DebugInfo/PDB/Inputs/symbolformat.pdb +++ b/llvm/test/DebugInfo/PDB/Inputs/symbolformat.pdb |