llvm/tools/dsymutil
Frederic Riss 5f69f9fb81 [dsymutil] Discard useless location attributes.
When cloning the debug info for a function that hasn't been linked,
strip the DIEs from all location attributes that wouldn't contain any
meaningful information anyway.

This kind of situation can happen when a function got discarded by the
linker, but its debug information is still wanted in the final link
because it was marked as required as some other DIE dependency. The easiest
way to get into that situation is to have using directives. They get
linked unconditionally, but their targets might not always be present.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247386 91177308-0d34-0410-b5e6-96231b3b80d8
2015-09-11 04:17:30 +00:00
..
BinaryHolder.cpp [dsymutil] Implement support for universal mach-o object files. 2015-07-24 06:41:11 +00:00
BinaryHolder.h [dsymutil] Implement support for universal mach-o object files. 2015-07-24 06:41:11 +00:00
CMakeLists.txt [dsymutil] Implement support for handling mach-o universal binaries as main input/output. 2015-08-05 18:27:44 +00:00
DebugMap.cpp [dsymutil] Store an optional BinaryPath in the debug map. 2015-08-26 05:09:59 +00:00
DebugMap.h [dsymutil] Store an optional BinaryPath in the debug map. 2015-08-26 05:09:59 +00:00
dsymutil.cpp [dsymutil] Implement -symtab/-s option. 2015-08-31 00:29:09 +00:00
dsymutil.h [dsymutil] Implement -symtab/-s option. 2015-08-31 00:29:09 +00:00
DwarfLinker.cpp [dsymutil] Discard useless location attributes. 2015-09-11 04:17:30 +00:00
LLVMBuild.txt [dsymutil] Add the DwarfStreamer class. 2015-02-28 00:29:11 +00:00
MachODebugMapParser.cpp [dsymutil] Do not construct a StringRef from a std::string temporary 2015-08-31 00:49:34 +00:00
MachOUtils.cpp Reapply r246012 [dsymutil] Emit real dSYM companion binaries. 2015-09-02 16:49:13 +00:00
MachOUtils.h Reapply r246012 [dsymutil] Emit real dSYM companion binaries. 2015-09-02 16:49:13 +00:00
Makefile [dsymutil] Add the DwarfStreamer class. 2015-02-28 00:29:11 +00:00
NonRelocatableStringpool.h [dsymutil] Split NonRelocatableStringPool into its own file. NFC. 2015-08-26 05:09:52 +00:00