diff options
author | Christian Ulmann <christian.ulmann@nextsilicon.com> | 2023-10-30 12:49:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-30 12:49:16 +0100 |
commit | 3e96070b2d25954925bf904dc8841067280ffa27 (patch) | |
tree | d727d4ddf1f94b4f1749dfeb400c8f9b6c95b10a /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
parent | 7b2e0095bccb2f63e6b6cc8b8e524d206ebf8d69 (diff) | |
download | llvm-3e96070b2d25954925bf904dc8841067280ffa27.zip llvm-3e96070b2d25954925bf904dc8841067280ffa27.tar.gz llvm-3e96070b2d25954925bf904dc8841067280ffa27.tar.bz2 |
[MLIR][LLVM] Avoid exporting broken debug intrinsics without a location (#70643)
LLVM IR does not allow debug intrinsics without a debug attachment. The
location export can fail the export of a location due to multiple
reasons. To deal with this, this commit adds a check to the debug
intrinsic's LLVM builders, that skips them, if the location is
`nullptr`.
Fixes #60222
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions