projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88282c6
)
[mach-o] Turn -single_module error into a warning
author
Nick Kledzik
<kledzik@apple.com>
Tue, 28 Oct 2014 21:11:02 +0000
(21:11 +0000)
committer
Nick Kledzik
<kledzik@apple.com>
Tue, 28 Oct 2014 21:11:02 +0000
(21:11 +0000)
To be more compatible with existing darwin linker.
llvm-svn: 220822
lld/lib/Driver/DarwinLdDriver.cpp
patch
|
blob
|
history
diff --git
a/lld/lib/Driver/DarwinLdDriver.cpp
b/lld/lib/Driver/DarwinLdDriver.cpp
index
500e292
..
452d6cc
100644
(file)
--- a/
lld/lib/Driver/DarwinLdDriver.cpp
+++ b/
lld/lib/Driver/DarwinLdDriver.cpp
@@
-588,8
+588,8
@@
bool DarwinLdDriver::parse(int argc, const char *argv[],
}
else {
if (ctx.outputMachOType() != llvm::MachO::MH_DYLIB) {
- diagnostics << "
-single_module only used when creating a dylib\n";
-
return false
;
+ diagnostics << "
warning: -single_module being ignored. "
+
"It is only for use when producing a dylib\n"
;
}
}
}