[PATCH] D56215: [lld] [ELF] Include default search paths for NetBSD driver
Kamil Rytarowski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 11 13:17:05 PST 2019
krytarowski added inline comments.
================
Comment at: ELF/Driver.cpp:375
+ switch (Config->EMachine) {
+ case EM_386:
+ Config->SearchPaths.push_back("=/usr/lib/i386");
----------------
As we have TargetTriple now, I would use it here instead of `Config->EMachine`, it will be easier to map knowledge from the Clang driver and handle special ABI cases.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56215/new/
https://reviews.llvm.org/D56215
More information about the cfe-commits
mailing list