diff options
author | jeremyd2019 <github@jdrake.com> | 2025-08-01 18:16:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-01 18:16:07 -0700 |
commit | 65990d61486c44186daec8e3c0831a32780b3e1d (patch) | |
tree | 8ca87249d355ff9b369e4a48777fb83d94d18dde /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | 49a24b3116236d65cc2541e8d176ecf9dcb152db (diff) | |
download | llvm-65990d61486c44186daec8e3c0831a32780b3e1d.zip llvm-65990d61486c44186daec8e3c0831a32780b3e1d.tar.gz llvm-65990d61486c44186daec8e3c0831a32780b3e1d.tar.bz2 |
[lli] Fix crash with --no-process-syms on MinGW (#151386)
In this case, `J->getProcessSymbolsJITDylib()` returns a NULL pointer.
In order to make sure `__main` is still defined, add the symbol to
`J->getMainJITDylib()` instead in that case. This returns a reference
and thus cannot be NULL.
Fixes #143080
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions