llvm-project/lld/COFF
Martin Storsjö 29d8c27c65 [LLD] [COFF] Fix reporting duplicate errors for absolute symbols
Previously this caused crashes in the reportDuplicate method.

A DefinedAbsolute doesn't have any InputFile attached to it, so we
can't report the file for the original symbol.

We could add an InputFile argument to SymbolTable::addAbsolute
only for the sake of error reporting, but even then it'd be assymetrical,
only pointing out the file containing the new conflicting definition,
not the original one.

Differential Revision: https://reviews.llvm.org/D71679
2019-12-19 12:14:08 +02:00
..
CMakeLists.txt [LLD] [COFF] Use the local dwarf code instead of Symbolizer for resolving code locations. NFC. 2019-10-21 08:01:59 +00:00
Chunks.cpp [COFF] Rename variale references in comments after VariableName -> variableName change 2019-07-16 08:26:38 +00:00
Chunks.h [LLD] Add a default copy constructor to avoid warnings 2019-11-25 14:09:16 -06:00
Config.h Implement /driver, /driver:wdm and /driver:uponly 2019-11-14 13:07:56 +09:00
DLL.cpp dummy comment typo fix commit to cycle the bots 2019-10-10 02:04:56 +00:00
DLL.h [COFF] Share the tail in delayimport symbol thunks 2019-07-11 21:19:11 +00:00
DebugTypes.cpp Use lld::make<T> to make TpiSource objects 2019-11-20 13:14:44 +09:00
DebugTypes.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
Driver.cpp LLD: Don't use the stderrOS stream in link before it's reassigned. 2019-11-21 10:55:03 -05:00
Driver.h lld-link: Add a flag /lldignoreenv that makes lld-link ignore env vars. 2019-09-13 13:13:52 +00:00
DriverUtils.cpp LLD: Don't use the stderrOS stream in link before it's reassigned. 2019-11-21 10:55:03 -05:00
ICF.cpp dummy comment typo fix commit to cycle the bots 2019-10-10 02:04:56 +00:00
ICF.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
InputFiles.cpp [COFF] Avoid CodeView include in header 2019-11-14 14:27:48 -08:00
InputFiles.h [COFF] Avoid CodeView include in header 2019-11-14 14:27:48 -08:00
LTO.cpp [COFF] Wrap definitions in namespace lld { namespace coff {. NFC 2019-10-10 11:27:58 +00:00
LTO.h [lld-link] implement -thinlto-index-only 2019-07-11 18:03:14 +00:00
MapFile.cpp [COFF] Wrap definitions in namespace lld { namespace coff {. NFC 2019-10-10 11:27:58 +00:00
MapFile.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
MarkLive.cpp Fix odd variable names. 2019-07-12 06:12:27 +00:00
MarkLive.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
MinGW.cpp [COFF] Wrap definitions in namespace lld { namespace coff {. NFC 2019-10-10 11:27:58 +00:00
MinGW.h [COFF] Don't include llvm/LTO/LTO.h in a header 2019-11-14 13:47:18 -08:00
Options.td Implement /driver, /driver:wdm and /driver:uponly 2019-11-14 13:07:56 +09:00
PDB.cpp [COFF] Avoid CodeView include in header 2019-11-14 14:27:48 -08:00
PDB.h [LLD] [COFF] Wrap file location pair<StringRef,int> in Optional<>. NFC. 2019-10-15 09:18:18 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
SymbolTable.cpp [LLD] [COFF] Fix reporting duplicate errors for absolute symbols 2019-12-19 12:14:08 +02:00
SymbolTable.h [LLD] [COFF] Try to report source locations for duplicate symbols 2019-10-18 10:43:15 +00:00
Symbols.cpp [LLD] [COFF] Always demangle the __imp_ prefix to __declspec(dllimport) 2019-10-04 19:47:59 +00:00
Symbols.h reland "[lld-link] implement -start-lib and -end-lib" 2019-09-03 20:32:16 +00:00
TypeMerger.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00
Writer.cpp Make it possible to redirect not only errs() but also outs() 2019-11-18 11:18:06 +09:00
Writer.h [Coding style change][lld] Rename variables for non-ELF ports 2019-07-11 05:40:30 +00:00

README.md

See docs/NewLLD.rst