[PATCH] D54378: Add Hurd triplet

Kristina Brooks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 10 09:03:20 PST 2018


kristina added a comment.

If you absolutely must use this triple, however, I would suggest handling it in the Clang driver, you have slightly more leeway there, and there isn't going to be as much resistance since one of the main reasons we have the driver (aside from the obvious) is translating certain flags from what people are used to (or what's needed for compatibility) to an internal compiler command-line, aka `-cc1` (or `-cc1as`). Again, support for GNU Hurd is very welcome here, it's just that we also have to make sure everyone else is happy, which includes downstream GNU Linux variations and various Glibc maintainers. I'm merely suggesting not registering the target with that triple in LLVMSupport which is kind of core to *all* parts of LLVM, while your interactions with Clang are mostly governed by the driver (you don't usually avoid the driver since it builds/adds/translates a lot of internal but required flags before invoking the frontend).


https://reviews.llvm.org/D54378





More information about the llvm-commits mailing list