summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2022-04-07 15:48:22 -0700
committerLang Hames <lhames@gmail.com>2022-04-07 17:06:38 -0700
commita76209c265bdaca09d46ca4744c2d6e3602c908a (patch)
tree07a9547b1b34215c734cbd61b413497aed0418d4 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
parent1cee3d9db77b2c62a03efe1cce45f627dcbe6457 (diff)
[ORC] Fix handling of casts in llvm.global_ctors.
Removes a bogus dyn_cast_or_null that was breaking cast-expression handling when parsing llvm.global_ctors. The intent of this code was to identify Functions nested within cast expressions, but the offending dyn_cast_or_null was actually blocking that: Since a function is not a cast expression, we would set FuncC to null and break the loop without finding the Function. The cast was not necessary either: Functions are already Constants, and we didn't need to do anything ConstantExpr-specific with FuncC, so we could just drop the cast. Thanks to Jonas Hahnfeld for tracking this down. http://llvm.org/PR54797
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions