This patch adds a check and an error message to gnutools::Linker::ConstructJob in case the architecture is not supported. For most other operating systems, the error message is created in lib/Basic/Targets.cpp:AllocateTarget, but when construction the linker arguments for the gnutools linker a supported architecture is required.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM with a small cleanup.
lib/Driver/Tools.cpp | ||
---|---|---|
10018 | Please write this as if (const char *LDMOption = ...) { ... } else { D.Diag(...); return; } |
Please write this as