[LLVMbugs] [Bug 20975] New: getFlavor: -flavor/-core switches should have higher priority than linker name
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Sep 17 06:48:13 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20975
Bug ID: 20975
Summary: getFlavor: -flavor/-core switches should have higher
priority than linker name
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedbugs at nondot.org
Reporter: llvm.mail.list at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
If lld is symlinked and link name is "ld" or renamed to "ld", the getFlavor
function (UniversalDriver.cpp) decides about flavor to use by the platform lld
was compiled for. However, a user might directly specify the desired flavor by
using the -flavor/-core switches. The switches should have a higher priority.
Lld should check them first and try to guess the flavor only if no
-flavor/-core provided.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140917/1dc0753f/attachment.html>
More information about the llvm-bugs
mailing list