[PATCH] D54379: Add Hurd toolchain support to Clang

Kristina Brooks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 15 16:49:04 PST 2018


kristina added a comment.

Phab lost this inline command for some reason, but please leave some comment regarding why that part in `Driver.cpp` does what it does (summarize the conclusion of the discussion in https://reviews.llvm.org/D54378).



================
Comment at: lib/Driver/Driver.cpp:416
+  std::string T = TargetTriple;
+  replaceString(T, "-unknown-gnu", "-unknown-hurd-gnu");
+  replaceString(T, "-pc-gnu", "-pc-hurd-gnu");
----------------
Please comment the reasoning behind this (ie. the discussion in D54378) for any other maintainers.


Repository:
  rC Clang

https://reviews.llvm.org/D54379





More information about the cfe-commits mailing list