summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
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 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent19bdc8e5a307f6eb209d4f91620d70bd2f80219e (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