diff options
| author | Reid Kleckner <rnk@google.com> | 2017-10-27 00:45:51 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2017-10-27 00:45:51 +0000 |
| commit | 145090f124039a3f02819030d762f1d74d2cba1b (patch) | |
| tree | 4fd7b50f3251a693df2e1c7667dec6c75c58ab38 /llvm/test/DebugInfo/PDB | |
| parent | 32bcb5d7fb43a4c1c81632441ec5271d94d0caf2 (diff) | |
| download | bcm5719-llvm-145090f124039a3f02819030d762f1d74d2cba1b.tar.gz bcm5719-llvm-145090f124039a3f02819030d762f1d74d2cba1b.zip | |
[PDB] Handle an empty globals hash table with no buckets
llvm-svn: 316722
Diffstat (limited to 'llvm/test/DebugInfo/PDB')
| -rw-r--r-- | llvm/test/DebugInfo/PDB/Inputs/pdbdump-globals-empty.pdb | bin | 0 -> 86016 bytes | |||
| -rw-r--r-- | llvm/test/DebugInfo/PDB/pdbdump-globals-empty.test | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/PDB/Inputs/pdbdump-globals-empty.pdb b/llvm/test/DebugInfo/PDB/Inputs/pdbdump-globals-empty.pdb Binary files differnew file mode 100644 index 00000000000..a688d399895 --- /dev/null +++ b/llvm/test/DebugInfo/PDB/Inputs/pdbdump-globals-empty.pdb diff --git a/llvm/test/DebugInfo/PDB/pdbdump-globals-empty.test b/llvm/test/DebugInfo/PDB/pdbdump-globals-empty.test new file mode 100644 index 00000000000..59a06ea5e85 --- /dev/null +++ b/llvm/test/DebugInfo/PDB/pdbdump-globals-empty.test @@ -0,0 +1,6 @@ +RUN: llvm-pdbutil dump -globals %S/Inputs/pdbdump-globals-empty.pdb | FileCheck %s + +CHECK: Global Symbols +CHECK: ============================================================ +CHECK: Records +CHECK-NOT: S_ |

