diff options
author | Keith Smiley <keithbsmiley@gmail.com> | 2021-10-28 15:55:54 -0700 |
---|---|---|
committer | Keith Smiley <keithbsmiley@gmail.com> | 2021-10-29 10:09:38 -0700 |
commit | bd8a9507ef8c3a493c15828f7f2fbc241a9e5c93 (patch) | |
tree | ebd3af1829753ff87cff3fc891842c58f307fcde /clang/lib/Basic/FileManager.cpp | |
parent | 2f1617362751f2bff41014bc7364b24ec0ff3f47 (diff) | |
download | llvm-bd8a9507ef8c3a493c15828f7f2fbc241a9e5c93.zip llvm-bd8a9507ef8c3a493c15828f7f2fbc241a9e5c93.tar.gz llvm-bd8a9507ef8c3a493c15828f7f2fbc241a9e5c93.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions