llvm-project
c88f1711 - [lldb] Pass the step-out return type through the language runtime (#244706)

Commit
1 day ago
[lldb] Pass the step-out return type through the language runtime (#244706) Before giving a function's return type to the ABI plugin, ask the language runtime for the runtime type, as ValueObject does. Downstream, the Swift language runtime needs this. The return type comes from the type system of the function's module, which has no process, so the ABI plugin can't get the size of a type like Swift.Optional<Int> from the Swift runtime. The Swift language runtime returns the type from the target's scratch type system, which has a process. assisted by claude
Parents
Loading