diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2018-03-12 12:04:17 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2018-03-12 12:04:17 +0000 |
| commit | 11a6db30279a0021e4222b4c48c35a7ec2e8b142 (patch) | |
| tree | 44979becbcbf57b9ff1ae68ba579df17d1431dd4 /lld/COFF/SymbolTable.cpp | |
| parent | 2b8b90a7686858b1d22cae6fcfbd0904135112aa (diff) | |
| download | bcm5719-llvm-11a6db30279a0021e4222b4c48c35a7ec2e8b142.tar.gz bcm5719-llvm-11a6db30279a0021e4222b4c48c35a7ec2e8b142.zip | |
[lld-link] For suppressible warnings, print the warning number.
The warning can be suppressed by passing the number to /ignore:.
https://reviews.llvm.org/D44297
llvm-svn: 327257
Diffstat (limited to 'lld/COFF/SymbolTable.cpp')
| -rw-r--r-- | lld/COFF/SymbolTable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/COFF/SymbolTable.cpp b/lld/COFF/SymbolTable.cpp index 73d54073e35..32420df3f85 100644 --- a/lld/COFF/SymbolTable.cpp +++ b/lld/COFF/SymbolTable.cpp @@ -123,7 +123,7 @@ void SymbolTable::reportRemainingUndefines() { if (Config->WarnLocallyDefinedImported) if (Symbol *Imp = LocalImports.lookup(B)) warn("<root>: locally defined symbol imported: " + Imp->getName() + - " (defined in " + toString(Imp->getFile()) + ")"); + " (defined in " + toString(Imp->getFile()) + ") [LNK4217]"); } for (ObjFile *File : ObjFile::Instances) { @@ -136,7 +136,7 @@ void SymbolTable::reportRemainingUndefines() { if (Symbol *Imp = LocalImports.lookup(Sym)) warn(toString(File) + ": locally defined symbol imported: " + Imp->getName() + " (defined in " + toString(Imp->getFile()) + - ")"); + ") [LNK4217]"); } } } |

