[all-commits] [llvm/llvm-project] bd8a95: [clang][driver] Fix multiarch output name with -Wl...
Keith Smiley via All-commits
all-commits at lists.llvm.org
Fri Oct 29 10:11:43 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bd8a9507ef8c3a493c15828f7f2fbc241a9e5c93
https://github.com/llvm/llvm-project/commit/bd8a9507ef8c3a493c15828f7f2fbc241a9e5c93
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2021-10-29 (Fri, 29 Oct 2021)
Changed paths:
M clang/lib/Driver/Driver.cpp
M clang/test/Driver/darwin-dsymutil.c
Log Message:
-----------
[clang][driver] Fix multiarch output name with -Wl arg
Previously if you passed a `-Wl,-foo` _before_ the source filename, the
first `InputInfos`, which is used for the base input name would be an
`InputArg` kind, which would never have a base input name. Now we use
that by default, but pick the first `InputInfo` that is of kind
`Filename` to get the name from if there is one.
Differential Revision: https://reviews.llvm.org/D112767
More information about the All-commits
mailing list