mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-22 17:03:32 +00:00
Update error message to use "ld.lld" instead of "lld -flavor gnu".
Dispatching based on argv[0] seems to be more convenient for users than dispatching based on -flavor option. Currently, when a user invoke LLD as "lld", we recommend them pass -flavor option. This patch changes the message so that we recommend use ld.lld, ld or lld-link instead. Differential Revision: http://reviews.llvm.org/D22321 llvm-svn: 275448
This commit is contained in:
parent
941faa77ad
commit
cb7d6e955d
@ -109,7 +109,7 @@ int main(int Argc, const char **Argv) {
|
||||
case Darwin:
|
||||
return !mach_o::link(Args);
|
||||
default:
|
||||
die("-flavor option is missing. Available flavors are "
|
||||
"gnu, darwin or link.");
|
||||
die("lld is a generic driver.\n"
|
||||
"Invoke ld.lld (Unix), ld (Mac) or lld-link (Windows) instead.");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user