summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorJames Henderson <jh7370@my.bristol.ac.uk>2018-05-21 15:30:54 +0000
committerJames Henderson <jh7370@my.bristol.ac.uk>2018-05-21 15:30:54 +0000
commit004b729ed1487057295df1e9b13456201dad244c (patch)
tree8bfd7b439452c2f7c8274d1bd4d5ea350a0f96f0 /llvm/tools
parenta8869e68a9ace4f1c6fe8075d47172803516f170 (diff)
downloadbcm5719-llvm-004b729ed1487057295df1e9b13456201dad244c.tar.gz
bcm5719-llvm-004b729ed1487057295df1e9b13456201dad244c.zip
[DWARF] Refactor callback usage for .debug_line error handling
Change the "recoverable" error callback to take an Error instaed of a string. Reviewed by: JDevlieghere Differential Revision: https://reviews.llvm.org/D46831 llvm-svn: 332845
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/dsymutil/DwarfLinker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/dsymutil/DwarfLinker.cpp b/llvm/tools/dsymutil/DwarfLinker.cpp
index 07b35f5f5c1..e6f8bdae2e6 100644
--- a/llvm/tools/dsymutil/DwarfLinker.cpp
+++ b/llvm/tools/dsymutil/DwarfLinker.cpp
@@ -3607,7 +3607,7 @@ void DwarfLinker::patchLineTableForUnit(CompileUnit &Unit,
Error Err = LineTable.parse(LineExtractor, &StmtOffset, OrigDwarf,
&Unit.getOrigUnit());
- DWARFDebugLine::warnForError(std::move(Err));
+ DWARFDebugLine::warn(std::move(Err));
// This vector is the output line table.
std::vector<DWARFDebugLine::Row> NewRows;
OpenPOWER on IntegriCloud