aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
diff options
context:
space:
mode:
authorAmara Emerson <amara@apple.com>2021-10-07 23:26:35 -0700
committerAmara Emerson <amara@apple.com>2021-10-07 23:51:37 -0700
commit72ce310bf0deceea6929eebbfc0d65e799d86ad9 (patch)
tree640463e6ff1eddba16053dde1bb758959bd03077 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
parent08b3c0d995d83060ae0cf3d3b2f9936da380cf29 (diff)
downloadllvm-72ce310bf0deceea6929eebbfc0d65e799d86ad9.zip
llvm-72ce310bf0deceea6929eebbfc0d65e799d86ad9.tar.gz
llvm-72ce310bf0deceea6929eebbfc0d65e799d86ad9.tar.bz2
[GlobalISel][IRTranslator] Fix a use-after-free bug when translating trap-func-name traps.
This was using MachineFunction::createExternalSymbolName() before, which seems reasonable, but in fact this is freed before the asm emitter which tries to access the function name string. Switching it to use the string returned by the attribute seems to fix the problem.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions