aboutsummaryrefslogtreecommitdiff
path: root/clang
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-11-20 10:14:57 -0500
committerNico Weber <thakis@chromium.org>2020-12-01 18:48:29 -0500
commit07ab597bb0356ceae0195e4d66205e7eb2d07b7e (patch)
treeffbde846dde5e1bfa10f8ed9505cbf291f976eff /clang
parent[llvm] Fix for failing test from fdbd84c6c819d4462546961f6086c1524d5d5ae8 (diff)
downloadllvm-project-07ab597bb0356ceae0195e4d66205e7eb2d07b7e.tar.gz
llvm-project-07ab597bb0356ceae0195e4d66205e7eb2d07b7e.tar.bz2
llvm-project-07ab597bb0356ceae0195e4d66205e7eb2d07b7e.zip
[lld/mac] Fix issues around thin archives
- most importantly, fix a use-after-free when using thin archives, by putting the archive unique_ptr to the arena allocator. This ports D65565 to MachO - correctly demangle symbol namess from archives in diagnostics - add a test for thin archives -- it finds this UaF, but only when running it under asan (it also finds the demangling fix) - make forceLoadArchive() use addFile() with a bool to have the archive loading code in fewer places. no behavior change; matches COFF port a bit better Differential Revision: https://reviews.llvm.org/D92360
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions