Skip to content

[Debug Info] Store the source code for macro expansions in the debug … #70132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

adrian-prantl
Copy link
Contributor

…info

This patch stores the source code of macro in the source field of DIFile, which can be used together with the DW_LLVM_LNCT_source extension to emit the source code into DWARF debug info.

rdar://110926109

@adrian-prantl
Copy link
Contributor Author

test with swiftlang/llvm-project#7836
@swift-ci test

…info

This patch stores the source code of macro in the source field of DIFile, which
can be used together with the DW_LLVM_LNCT_source extension to emit the source
code into DWARF debug info.

rdar://110926109
@adrian-prantl
Copy link
Contributor Author

test with swiftlang/llvm-project#7836
@swift-ci test

@adrian-prantl
Copy link
Contributor Author

test with swiftlang/llvm-project#7836
@swift-ci test windows

@adrian-prantl adrian-prantl merged commit c70447c into swiftlang:main Dec 1, 2023
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.

1 participant