llvm-project/llvm/tools/dsymutil
Frederic Riss 84c09a51e9 [dsymutil] Add DIE selection algorithm.
With this commit, llvm-dsymutil learns how to choose which DIEs
it will link in the final output and which ones it won't. This
is based on the 'valid relocation' information that has been
built in the previous commits.

The test only tests that we choose the right 'root DIEs'. The
selection algorithm (and especially the part that walk the
dependencies of a root DIE) lacks a bit test coverage. This
will be much easier to cover when we output actual Dwarf and
thus can use llvm-dwarfdump to verify the structure of the
emitted DIE trees. I'll add more tests then.

llvm-svn: 229183
2015-02-13 23:18:34 +00:00
..
BinaryHolder.cpp [dsymutil] Implement the BinaryHolder object and gain archive support. 2015-01-05 21:29:28 +00:00
BinaryHolder.h [dsymutil] Implement the BinaryHolder object and gain archive support. 2015-01-05 21:29:28 +00:00
CMakeLists.txt Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
DebugMap.cpp [dsymutil] Add DebugMapObject::lookupObjectAddress() 2015-02-13 23:18:16 +00:00
DebugMap.h [dsymutil] Add DebugMapObject::lookupObjectAddress() 2015-02-13 23:18:16 +00:00
DwarfLinker.cpp [dsymutil] Add DIE selection algorithm. 2015-02-13 23:18:34 +00:00
LLVMBuild.txt Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
MachODebugMapParser.cpp [dsymutil] Add the detected target triple to the debug map. 2015-01-19 23:33:14 +00:00
Makefile Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
dsymutil.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
dsymutil.h [dsymutil] Pass the verbosity flag down to the processing. NFC for now. 2014-12-16 20:22:11 +00:00