[PATCH] D34814: [ELF] - Fail the link if something happens on DWARF parsing stage of -gdb-index building
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 11 14:26:10 PDT 2017
ruiu added inline comments.
================
Comment at: lld/trunk/ELF/SyntheticSections.cpp:1817
+ toString(std::move(E)));
+ return ErrorPolicy::Continue;
+ });
----------------
What does this `ErrorPolicy::Continue` mean? If there's something like `Abort`, you want to abort, as if something is broken in a DWARF debug info, it is very likely that the following bytes are also garbage.
Repository:
rL LLVM
https://reviews.llvm.org/D34814
More information about the llvm-commits
mailing list