You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SR-12050: lldb error: could not build C module 'CNIOBoringSSLShims' (Linux 5.1.3) when debugging (#3215)
When invoking the Swift compiler, SwiftPM was passing search paths to C headers as "-I" arguments. But it wasn't prefixing them with "-Xcc" so they were being interpreted by the Swift driver and not Clang. This meant that they weren't recorded as serialized import paths in the AST. It isn't fully clear why they are needed when building the module in response to the debugger or REPL but not when building using the compiler, but it is clear that these are C header search paths and not Swift module search paths, so they should indeed be passed using "-Xcc" prefixes.
rdar://58709835
0 commit comments