[all-commits] [llvm/llvm-project] a8877c: [clang] [MinGW] Pass --no-demangle through to the ...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Sun Jan 2 14:22:54 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a8877c5ccc0e05495d60f1669d47826e60f373b8
https://github.com/llvm/llvm-project/commit/a8877c5ccc0e05495d60f1669d47826e60f373b8
Author: Martin Storsjö <martin at martin.st>
Date: 2022-01-03 (Mon, 03 Jan 2022)
Changed paths:
M clang/lib/Driver/ToolChains/MinGW.cpp
M clang/test/Driver/Xlinker-args.c
Log Message:
-----------
[clang] [MinGW] Pass --no-demangle through to the mingw linker
Clang has custom handling of --no-demangle, where it is removed
from the input -Wl and -Xlinker options, and readded specifically
by the drivers where it's known to be supported.
Both ld.bfd and lld support the --no-demangle option. This handles
the option in the same way as in ToolChains/Gnu.cpp.
Differential Revision: https://reviews.llvm.org/D114064
More information about the All-commits
mailing list