Skip to content

Conversation

@adrian-prantl
Copy link
Contributor

@adrian-prantl adrian-prantl commented Nov 19, 2025

…able.

While testing the LLDB support for enhanced module tracking I noticed that the driver currently always uses a relative path for -debug-module-path, which is an obvious problem when compiling in a different directory, or if the swift module output is in a different path than the object file output. This patch addresses this by preferring moduleOutputInfo.output if available.

rdar://164524241

(Relanding #2012 with a relaxed test that doesn't encode the name of a temporary file)

@adrian-prantl
Copy link
Contributor Author

@swift-ci test

…able.

While testing the LLDB support for enhanced module tracking I noticed
that the driver currently always uses a relative path for
-debug-module-path, which is an obvious problem when compiling in a
different directory, or if the swift module output is in a different
path than the object file output. This patch addresses this by
preferring moduleOutputInfo.output if available.

rdar://164524241

(Relanding with a relaxed test that doesn't encode the name of a temporary file)
@adrian-prantl
Copy link
Contributor Author

@swift-ci test

@adrian-prantl
Copy link
Contributor Author

@swift-ci test windows

1 similar comment
@adrian-prantl
Copy link
Contributor Author

@swift-ci test windows

@adrian-prantl
Copy link
Contributor Author

@swift-ci test windows

@adrian-prantl adrian-prantl merged commit 7833ebe into main Nov 21, 2025
18 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants