Skip to content

Make the DWARF version emitted by the Swift compiler configurable. #69254

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 2 commits into from
Oct 25, 2023

Conversation

adrian-prantl
Copy link
Contributor

@adrian-prantl adrian-prantl commented Oct 18, 2023

Previously it was hardcoded to version 4 on all platforms.
This patch introduces new driver and frontend flags -dwarf-version=.

This PR includes #69255, due to a tiny dependency.

@adrian-prantl
Copy link
Contributor Author

@swift-ci test with swiftlang/swift-driver#1467

@adrian-prantl
Copy link
Contributor Author

test with swiftlang/swift-driver#1467
@swift-ci test

@adrian-prantl
Copy link
Contributor Author

test with swiftlang/swift-driver#1467
@swift-ci test

@adrian-prantl
Copy link
Contributor Author

test with swiftlang/swift-driver#1467
@swift-ci test

@adrian-prantl
Copy link
Contributor Author

(There's an LLDB dependency that I didn't forsee so I'll put his on ice until after rebranch)

Previously it was hardcoded to version 4 on all platforms.
This patch introduces a driver and frontend option -dwarf-version to configure it if needed.
@adrian-prantl
Copy link
Contributor Author

test with swiftlang/swift-driver#1467
test with swiftlang/llvm-project#7668
@swift-ci smoke test

@adrian-prantl
Copy link
Contributor Author

test with swiftlang/swift-driver#1467
test with swiftlang/llvm-project#7668
@swift-ci test windows

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.

2 participants