[PATCH] D114064: [clang] [MinGW] Pass --no-demangle through to the mingw linker

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 2 02:53:02 PST 2022


mstorsjo added a comment.

In D114064#3216147 <https://reviews.llvm.org/D114064#3216147>, @Ericson2314 wrote:

> Not sure what the exact division of labor is between the GNU and MinGW backends, but assuming there is no way to share this between them the patch looks good.

Yeah. Also at this point, this option should probably rather be handled as opt-out for targets that don’t support it, instead of having every single target do manual work to pass it through.

Additionally, this probably doesn’t handle sequences of `--no-demangle --demangle` correctly, but this just gets this target to the same level as e.g. GNU.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114064/new/

https://reviews.llvm.org/D114064



More information about the cfe-commits mailing list