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

[clang][driver] Fix -print-libgcc-file-name on Darwin platforms #98325

Merged
merged 1 commit into from
Jul 19, 2024

Commits on Jul 12, 2024

  1. [clang][driver] Fix --print-libgcc-file-name on Darwin platforms

    On Darwin, --print-libgcc-file-name was returning a nonsensical result.
    It would return the name of the library that would be used by the default
    toolchain implementation, but that was something that didn't exist on
    Darwin.
    
    Fixing this requires initializing the Darwin toolchain before processing
    `--print-libgcc-file-name`. Previously, the Darwin toolchain would only be
    initialized when building the jobs for this compilation, which is too late
    since `--print-libgcc-file-name` requires the toolchain to be initialized in
    order to provide the right results.
    
    rdar://90633749
    Gabor Horvath committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    200d0b7 View commit details
    Browse the repository at this point in the history