diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-06-25 21:42:46 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-06-25 21:42:46 +0000 |
commit | aed187c76e884dcb96e55312c16e1335580a2ed9 (patch) | |
tree | 246aff885ca1735092fbbe00d61e71c553b9543b /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
parent | 1e02a5aac82a41db5092998349f2fc4de459da19 (diff) | |
download | bcm5719-llvm-aed187c76e884dcb96e55312c16e1335580a2ed9.tar.gz bcm5719-llvm-aed187c76e884dcb96e55312c16e1335580a2ed9.zip |
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.
llvm-svn: 240701
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions