OSDN Git Service

[codeview] Fix handling of S_HEAPALLOCSITE
authorReid Kleckner <rnk@google.com>
Tue, 24 Oct 2017 17:02:40 +0000 (17:02 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 24 Oct 2017 17:02:40 +0000 (17:02 +0000)
commit91db8008a96b73407213cbc6bb81981472bbdae5
tree6ebb74253ceacf721ce3dcae0dfd1547193a4ff6
parent70d05d486ef2c4af5edff0820278ebd14820a325
[codeview] Fix handling of S_HEAPALLOCSITE

The type index is from the TPI stream, not the IPI stream. Fix the
dumper, fix type index discovery, and add a test in LLD.

Also improve the log message we emit when we fail to rewrite type
indices in LLD. That's how I found this bug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316461 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
tools/llvm-pdbutil/MinimalSymbolDumper.cpp