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-12119] -print-target-info doesn't respect -v and -### #54554

Open
beccadax opened this issue Feb 1, 2020 · 1 comment
Open

[SR-12119] -print-target-info doesn't respect -v and -### #54554

beccadax opened this issue Feb 1, 2020 · 1 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

Comments

@beccadax
Copy link
Contributor

beccadax commented Feb 1, 2020

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

md5: e2bf96abd4bc72983099b4fb16b7e2b3

Issue Description:

The (old) driver handles -print-target-info commands by building a subset of the command line and directly invoking the frontend. This bypasses mechanisms like -v and -###, which is undesirable from a debugging standpoint. It would be helpful if these things worked with this command.

Somewhat separately, this design also requires the driver to have complete knowledge of which flags influence the target and search paths, which is a bit brittle. There might be a better way to architect this; for instance, we might be able to treat the target info as a potential output of the compiler and perform normal processing in the driver before invoking the frontend to print the information.

@beccadax
Copy link
Contributor Author

beccadax commented Feb 4, 2020

@swift-ci create

@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