aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorChristian Ulmann <christian.ulmann@nextsilicon.com>2023-10-30 10:42:04 +0100
committerGitHub <noreply@github.com>2023-10-30 10:42:04 +0100
commita902ca66428164b4f11dedf1c551393add511271 (patch)
tree6c9ae26a8a38f73e53eba1e19c2bca12bffc14b3 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parent1770a2e325192f1665018e21200596da1904a330 (diff)
downloadllvm-a902ca66428164b4f11dedf1c551393add511271.zip
llvm-a902ca66428164b4f11dedf1c551393add511271.tar.gz
llvm-a902ca66428164b4f11dedf1c551393add511271.tar.bz2
[MLIR][LLVM] Infer export location scope from location, if possible (#70465)
This commit changes the debug location exporter to try to infer the locations scope from the MLIR location, if possible. This is necessary when the function containing the operation does not have a DISubprogram attached to it. We observed a roundtrip crash with a case where the the subprogram was missing on a function, but a debug intrinsic referenced a subprogram non-the-less. This lead to a successful import, but the export silently dropped the location, which results in invalid IR.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions