1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/tools/dsymutil
Keno Fischer 77690ac11e [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
2017-10-26 17:31:33 +00:00
..
BinaryHolder.cpp Make the Error class constructor protected 2016-11-11 04:28:40 +00:00
BinaryHolder.h Re-land "[dsymutil] Timestmap verification for __swift_ast" 2017-10-13 14:41:23 +00:00
CMakeLists.txt [CMake] llvm-dsymutil depends on intrinsics_gen 2016-11-19 02:02:46 +00:00
DebugMap.cpp [llvm-dsymutil] Add support for __swift_ast MachO DWARF section 2017-10-06 14:49:20 +00:00
DebugMap.h [llvm-dsymutil] Add support for __swift_ast MachO DWARF section 2017-10-06 14:49:20 +00:00
dsymutil.cpp Re-land "[dsymutil] Timestmap verification for __swift_ast" 2017-10-13 14:41:23 +00:00
dsymutil.h Re-land "[dsymutil] Timestmap verification for __swift_ast" 2017-10-13 14:41:23 +00:00
DwarfLinker.cpp [dsymutil] Check AttrInfo.Name validity before using it 2017-10-26 17:31:33 +00:00
LLVMBuild.txt
MachODebugMapParser.cpp [dsymutil] Emit valid debug locations when no symbol flags are set 2017-10-09 17:27:47 +00:00
MachOUtils.cpp Convenience/safety fix for llvm::sys::Execute(And|No)Wait 2017-09-13 17:03:37 +00:00
MachOUtils.h
NonRelocatableStringpool.h