diff options
author | Amara Emerson <amara@apple.com> | 2021-10-07 23:26:35 -0700 |
---|---|---|
committer | Amara Emerson <amara@apple.com> | 2021-10-07 23:51:37 -0700 |
commit | 72ce310bf0deceea6929eebbfc0d65e799d86ad9 (patch) | |
tree | 640463e6ff1eddba16053dde1bb758959bd03077 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp | |
parent | 08b3c0d995d83060ae0cf3d3b2f9936da380cf29 (diff) | |
download | llvm-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/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions