[PATCH] D35369: [PDB] Fix type server handling for archives

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 10:45:17 PDT 2017


rnk created this revision.
Herald added subscribers: hiraditya, aprantl.

This fixes type indices for SDK or CRT static archives. Previously we'd
try to look next to the archive object file path, which would not exist
on the local machine.

Also error out if we can't resolve a type server record. Hypothetically
we can recover from this error by discarding debug info for this object,
but that is not yet implemented.


https://reviews.llvm.org/D35369

Files:
  lld/COFF/PDB.cpp
  lld/test/COFF/pdb-type-server-missing.yaml
  llvm/include/llvm/DebugInfo/PDB/GenericError.h
  llvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp
  llvm/lib/DebugInfo/PDB/GenericError.cpp
  llvm/lib/DebugInfo/PDB/Native/PDBTypeServerHandler.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35369.106465.patch
Type: text/x-patch
Size: 10373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170713/d8c3de90/attachment-0001.bin>


More information about the llvm-commits mailing list