[PATCH] D56215: [lld] [ELF] Include default search paths for NetBSD driver

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 8 13:07:52 PST 2019


mgorny marked an inline comment as done.
mgorny added inline comments.


================
Comment at: ELF/Driver.cpp:779
+    // TODO: verify the triple somehow?
+    Config->TargetTriple = llvm::Triple(Prefix);
+  }
----------------
joerg wrote:
> See ToolChain::getTargetAndModeFromProgramName in clang.
Yes, I've based this on stripped down version of that. Most notably, I wasn't able to verify triple against TargetRegistry since it isn't initialized here.


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

https://reviews.llvm.org/D56215





More information about the cfe-commits mailing list