[all-commits] [llvm/llvm-project] d94526: [ELF] --warn-backrefs: check that D79300 fixed an ...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Jun 26 20:33:22 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d94526bb5fa5a22645240aa5bee5a3163fa193a9
https://github.com/llvm/llvm-project/commit/d94526bb5fa5a22645240aa5bee5a3163fa193a9
Author: Fangrui Song <maskray at google.com>
Date: 2020-06-26 (Fri, 26 Jun 2020)
Changed paths:
M lld/ELF/InputFiles.cpp
M lld/test/ELF/warn-backrefs.s
Log Message:
-----------
[ELF] --warn-backrefs: check that D79300 fixed an issue due to `mb = {}`
D79300 forgot to change `getBuffer().empty()` in LazyObjFile::parse to
`fetched`. This caused incorrect iterating after the current LazyObjFile was
fetched. This issue is benign and can just cause loss of "undefined symbols"
and "backward reference" diagnostics.
Before D79300 `mb = {}` caused --warn-backrefs-exclude to be useless for
a fetched LazyObjFile.
Add two test cases.
More information about the All-commits
mailing list