-
Notifications
You must be signed in to change notification settings - Fork 207
Support module wrapping for debugging on Linux #199
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
Conversation
@swift-ci test Linux |
@swift-ci please test Linux |
@swift-ci please test Linux |
@swift-ci please test Linux |
@swift-ci please test Linux |
if moduleOutputInfo.output != nil && !moduleInputs.isEmpty && compilerMode.usesPrimaryFileInputs { | ||
jobs.append(try mergeModuleJob(inputs: moduleInputs)) | ||
mergeJob = try mergeModuleJob(inputs: moduleInputs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You won’t have to force unwrap if you store this into a separate local variable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wrote it this way to mirror the usage of var link: Job?
below on line 219, it might be worth cleaning both instances up as a follow-up though
@swift-ci test |
@swift-ci please test macOS |
This is breaking Swift CI (https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-18_04/8618/consoleFull#-6367346333122a513-f36a-4c87-8ed7-cbc36a1ec144):
|
In addition to the added tests, this fixes Driver/modulewrap.swift. I did also find a bug while working on this where we aren't always planning an autolinking job when we should. I'm pretty sure that's an unrelated issue with how we're setting the object file format of triples though.