Skip to content
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

[SR-2408] Invoke the linker if there are any -Xlinker arguments, even if there are no inputs #45015

Open
belkadan opened this issue Aug 19, 2016 · 0 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself legacy driver Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project

Comments

@belkadan
Copy link
Contributor

Previous ID SR-2408
Radar rdar://problem/23212665
Original Reporter @belkadan
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, Driver
Assignee None
Priority Medium

md5: 1dd7deef8bb53da8f6d3dbb45389611e

Issue Description:

Sometimes it is useful to invoke the linker via swiftc (because of its extra behaviors), but needing to use -Xlinker to escape things so swiftc doesn’t muck with them. The driver should be willing to invoke the linker even when there are no input files if there are some Xlinker arguments.

The clang driver has a similar special case for linker args.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself legacy driver Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project
Projects
None yet
Development

No branches or pull requests

1 participant