summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/PDB/Inputs
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-02-27 09:15:18 +0000
committerZachary Turner <zturner@google.com>2015-02-27 09:15:18 +0000
commitdb18f5ca76e4e699598867f67a343d0b01e3a054 (patch)
treec604fbd488cf1c1c3d6af3b392a4b001f5954aaa /llvm/test/DebugInfo/PDB/Inputs
parentddc4d085cce9691b70e042dc9e03d795f33225c9 (diff)
downloadbcm5719-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.cpp3
-rw-r--r--llvm/test/DebugInfo/PDB/Inputs/symbolformat.pdbbin143360 -> 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
index 28832d4090f..53d8a1b31a3 100644
--- a/llvm/test/DebugInfo/PDB/Inputs/symbolformat.pdb
+++ b/llvm/test/DebugInfo/PDB/Inputs/symbolformat.pdb
Binary files differ
OpenPOWER on IntegriCloud