Support precise debug module tracking - #1898
Merged
Merged
Conversation
adincebic
requested review from
aaronsky,
brentleyjones,
keith and
luispadron
as code owners
September 12, 2026 13:02
adincebic
force-pushed
the
adin/support-precise-module-tracking
branch
from
September 12, 2026 13:12
ef77f1d to
f8d55ed
Compare
aaronsky
approved these changes
Sep 12, 2026
keith
reviewed
Sep 14, 2026
adincebic
force-pushed
the
adin/support-precise-module-tracking
branch
2 times, most recently
from
September 16, 2026 05:06
3ed005d to
f994ed3
Compare
keith
approved these changes
Sep 24, 2026
adincebic
force-pushed
the
adin/support-precise-module-tracking
branch
from
September 25, 2026 04:48
f994ed3 to
bc9dca8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds the support for newly introduced Swift precise debug module tracking.
The compiler stores the
.swiftmodulepath in each object file’s debug information, so LLDB knows which module file to load.This replaces the previous linker-based handling (
-add_ast_path) if toolchain supports it and Swift explicit modules are enabled.