[PATCH] D53149: [PDB] Better support for posix style paths in PDBs.

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 11 10:38:34 PDT 2018


zturner created this revision.
zturner added reviewers: rnk, stella.stamenova, thakis.
Herald added subscribers: arphaman, hiraditya.

  While it doesn't make a *ton* of sense for POSIX paths to be
  in PDBs, it's possible to occur in real scenarios involving
  cross compilation.
  
  The tools need to be able to handle this, because certain types
  of debugging scenarios are possible without a running process
  and so don't necessarily require you to be on a Windows system.
  These include post-mortem debugging and binary forensics (e.g.
  using a debugger to disassemble functions and examine symbols
  without running the process).
  
  There's changes in clang, LLD, and lldb in this patch.  After
  this the cross-platform disassembly and source-list tests pass
  on Linux.


https://reviews.llvm.org/D53149

Files:
  lld/COFF/PDB.cpp
  lldb/lit/SymbolFile/NativePDB/source-list.cpp
  lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp
  lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
  llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53149.169245.patch
Type: text/x-patch
Size: 5943 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181011/f5242c4f/attachment.bin>


More information about the llvm-commits mailing list