aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-06-26 20:31:47 -0700
committerFangrui Song <maskray@google.com>2020-06-26 20:31:47 -0700
commitd94526bb5fa5a22645240aa5bee5a3163fa193a9 (patch)
tree5b1cf131aea227fb71c2303f8c7a86b5a2bc640c /clang/lib/CodeGen/CodeGenFunction.cpp
parent059994f2190f04b8580562efb875d3a2fd91b0b8 (diff)
downloadllvm-d94526bb5fa5a22645240aa5bee5a3163fa193a9.zip
llvm-d94526bb5fa5a22645240aa5bee5a3163fa193a9.tar.gz
llvm-d94526bb5fa5a22645240aa5bee5a3163fa193a9.tar.bz2
[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.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions