llvm.org GIT mirror llvm / badd06e
[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 Mandeep Singh Grang 2 years ago
1 changed file(s) with 2 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
446446 ld_plugin_level Level;
447447 switch (DI.getSeverity()) {
448448 case DS_Error:
449 message(LDPL_FATAL, "LLVM gold plugin has failed to create LTO module: %s",
450 ErrStorage.c_str());
451 return;
449 Level = LDPL_FATAL;
450 break;
452451 case DS_Warning:
453452 Level = LDPL_WARNING;
454453 break;