diff options
| author | Nico Weber <thakis@chromium.org> | 2020-11-20 10:14:57 -0500 |
|---|---|---|
| committer | Nico Weber <thakis@chromium.org> | 2020-12-01 18:48:29 -0500 |
| commit | 07ab597bb0356ceae0195e4d66205e7eb2d07b7e (patch) | |
| tree | ffbde846dde5e1bfa10f8ed9505cbf291f976eff /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 19bdc8e5a307f6eb209d4f91620d70bd2f80219e (diff) | |
[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 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
