The .swiftmodule resulting from compilation of the target's sources was being ignored (since it cannot be a dependency of anything else), but it needs to be embedded as with any other .swiftmodule in order for LLDB to find it and initialize the AST context properly.
PiperOrigin-RevId: 477544434
(cherry picked from commit c0cdb8b5a2100b3962993654f7409b80f3ce96f2)
The
.swiftmodule
resulting from compilation of the target's sources was being ignored (since it cannot be a dependency of anything else), but it needs to be embedded as with any other.swiftmodule
in order for LLDB to find it and initialize the AST context properly.PiperOrigin-RevId: 477544434 (cherry picked from commit c0cdb8b5a2100b3962993654f7409b80f3ce96f2)