aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFModuleDefinition.cpp
diff options
context:
space:
mode:
authorKeno Fischer <keno@alumni.harvard.edu>2017-10-26 17:31:33 +0000
committerKeno Fischer <keno@alumni.harvard.edu>2017-10-26 17:31:33 +0000
commit722693be246c2c5d85f22f858a0bc962ce032908 (patch)
tree739d48420106cdb9c1dcf8f95a7251bbb0de2d44 /llvm/lib/Object/COFFModuleDefinition.cpp
parentcc087f6d9f2643bc4330d9f93bc506e0da6a7e05 (diff)
downloadllvm-722693be246c2c5d85f22f858a0bc962ce032908.zip
llvm-722693be246c2c5d85f22f858a0bc962ce032908.tar.gz
llvm-722693be246c2c5d85f22f858a0bc962ce032908.tar.bz2
[dsymutil] Check AttrInfo.Name validity before using it
Summary: This upstreams a patch from the osxcross [1] toolchain. It appears that llvm-dsymutil crashes at this place during GCC bootstrap. Adding the check here seems reasonable, since it operates on arbitrary input DWARF, not necessarily generated by the LLVM toolchain, and it seems the un-mangled name need not necessarily exist. Patch by Thomas Pöchtrager [1] https://github.com/tpoechtrager/osxcross Reviewed By: aprantl Differential Revision: https://reviews.llvm.org/D39336 llvm-svn: 316678
Diffstat (limited to 'llvm/lib/Object/COFFModuleDefinition.cpp')
0 files changed, 0 insertions, 0 deletions