[PATCH] D44117: [llvm-pdbdump] Add guard for null pointers and remove unused code

Aaron Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 5 13:19:59 PST 2018


asmith created this revision.
asmith added reviewers: zturner, llvm-commits.
Herald added a subscriber: mgrang.

This avoids crashing when a user tries to dump a pdb with the `-native` option.


Repository:
  rL LLVM

https://reviews.llvm.org/D44117

Files:
  tools/llvm-pdbutil/PrettyCompilandDumper.cpp
  tools/llvm-pdbutil/PrettyExternalSymbolDumper.cpp
  tools/llvm-pdbutil/PrettyTypeDumper.cpp
  tools/llvm-pdbutil/llvm-pdbutil.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44117.137068.patch
Type: text/x-patch
Size: 11709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180305/eae244fa/attachment.bin>


More information about the llvm-commits mailing list