llvm-6502/tools/dsymutil
Duncan P. N. Exon Smith ee46b796c2 dsymutil: Split out patchStmtList(), NFC
Split out code to patch up the `DW_AT_stmt_list` for the cloned DIE, and
reorganize it so that it doesn't depend on `DIE::values_begin()` and
`DIE::values_end()` (which I'm trying to kill off).

David Blaikie and I talked about adding a range-algorithm version of
`std::find_if()`, but the assertion *still* required getting at the end
iterator.  IMO, a separate helper function with an early return is
easier to reason about here.

A follow-up commit that removes `DIE::setValue()` and mutates the
`DIEValue` directly is coming shortly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240701 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-25 21:42:46 +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 add missing dependency on Target lib for tools 2015-06-03 19:07:51 +00:00
DebugMap.cpp [dsymutil] Rename a variable to appease some bots. 2015-06-05 21:21:57 +00:00
DebugMap.h [dsymutil] Apply clang-format. NFC 2015-06-05 20:27:07 +00:00
dsymutil.cpp Reapply r238941 - [dsymutil] Accept a YAML debug map as input instead of a binary. 2015-06-03 20:29:24 +00:00
dsymutil.h [dsymutil] Apply clang-format. NFC 2015-06-05 20:27:07 +00:00
DwarfLinker.cpp dsymutil: Split out patchStmtList(), NFC 2015-06-25 21:42:46 +00:00
LLVMBuild.txt [dsymutil] Add the DwarfStreamer class. 2015-02-28 00:29:11 +00:00
MachODebugMapParser.cpp Change how symbol sizes are handled in lib/Object. 2015-06-24 10:20:30 +00:00
Makefile [dsymutil] Add the DwarfStreamer class. 2015-02-28 00:29:11 +00:00