mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 16:56:39 +00:00
[gold-plugin] Fix a bunch of build warnings
Phabricator: https://reviews.llvm.org/D53997 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@345910 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
08238b7fa9
commit
badd06e25e
@ -447,9 +447,8 @@ static void diagnosticHandler(const DiagnosticInfo &DI) {
|
||||
ld_plugin_level Level;
|
||||
switch (DI.getSeverity()) {
|
||||
case DS_Error:
|
||||
message(LDPL_FATAL, "LLVM gold plugin has failed to create LTO module: %s",
|
||||
ErrStorage.c_str());
|
||||
return;
|
||||
Level = LDPL_FATAL;
|
||||
break;
|
||||
case DS_Warning:
|
||||
Level = LDPL_WARNING;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user