-
Notifications
You must be signed in to change notification settings - Fork 10.5k
IRGen: Don't output the full file path in the withoutActuallyEscaping… #22479
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
IRGen: Don't output the full file path in the withoutActuallyEscaping… #22479
Conversation
@swift-ci Please test |
I believe assertions generally do print the full filename (though people are talking about changing |
@jrose-apple You are right. I just happened to test |
@swift-ci Please test |
Build failed |
@swift-ci Please test |
Build failed |
Build failed |
…cation At Odebug we print the full path to the file and in optimized mode no file name will be included. This mirrors what we do in Swift's asserts. rdar://47880964
637818a
to
9212cbf
Compare
@swift-ci Please test |
Build failed |
Build failed |
@aschwaighofer should this be fixed in Swift 5.0 / Xcode 10.2? My test steps still emit a full path in an optimized build: SR-9895 |
No this change is not in Xcode 10.2 |
… verification
At Odebug we will now print only the file name (not the full path to the
file) and in optimized mode no file name will be included.
This mirrors what we do in Swift's asserts.
rdar://47880964