]> granicus.if.org Git - llvm/commit
[pdb] Don't choke on unknown symbol types.
authorZachary Turner <zturner@google.com>
Mon, 12 Jun 2017 23:10:31 +0000 (23:10 +0000)
committerZachary Turner <zturner@google.com>
Mon, 12 Jun 2017 23:10:31 +0000 (23:10 +0000)
commitab44768b23cf653c93a1578d9685fb16d0d29cff
tree0c0500ad67a045aaf27e9c5b42e630a08119a9ec
parent2ed087d09313a52b9fb45d76987de647e2b32692
[pdb] Don't choke on unknown symbol types.

When we get an unknown symbol type, we might as well at least
dump it.  Same goes for round-tripping through YAML, we can
dump the record contents as raw bytes even if we don't know
how to interpret it semantically.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305248 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ObjectYAML/CodeViewYAMLSymbols.cpp
test/DebugInfo/PDB/Inputs/unknown-symbol.yaml [new file with mode: 0644]
test/DebugInfo/PDB/pdb-unknown-symbol.test [new file with mode: 0644]