diff options
| author | Rui Ueyama <ruiu@google.com> | 2016-07-14 17:57:33 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2016-07-14 17:57:33 +0000 |
| commit | cb7d6e955d74fc58b1a537023aef0f566d412c42 (patch) | |
| tree | aab84998fdb759762f407e8514b680b228bf9605 | |
| parent | 941faa77adb172a17a84b9d8af8ea5a097badfbe (diff) | |
| download | bcm5719-llvm-cb7d6e955d74fc58b1a537023aef0f566d412c42.tar.gz bcm5719-llvm-cb7d6e955d74fc58b1a537023aef0f566d412c42.zip | |
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
| -rw-r--r-- | lld/tools/lld/lld.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/tools/lld/lld.cpp b/lld/tools/lld/lld.cpp index ae40de4b53f..8805e02e8c4 100644 --- a/lld/tools/lld/lld.cpp +++ b/lld/tools/lld/lld.cpp @@ -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."); } } |

