llvm-project/lld/COFF
Reid Kleckner 175af4bcc7 [PDB] Fix section contributions
Summary:
PDB section contributions are supposed to use output section indices and
offsets, not input section indices and offsets.

This allows the debugger to look up the index of the module that it
should look up in the modules stream for symbol information. With this
change, windbg can now find line tables, but it still cannot print local
variables.

Fixes PR34048

Reviewers: zturner

Subscribers: hiraditya, ruiu, llvm-commits

Differential Revision: https://reviews.llvm.org/D36285

llvm-svn: 309987
2017-08-03 21:15:09 +00:00
..
CMakeLists.txt Add BinaryFormat to lld libraries 2017-06-07 18:06:11 +00:00
Chunks.cpp Rename ObjectFile ObjFile for COFF as well. 2017-07-26 23:05:24 +00:00
Chunks.h [PDB] Improve our PDB OMF debug directory entry 2017-08-02 23:19:54 +00:00
Config.h lld: only write .manifest files if /manifest is passed, PR33925 2017-07-25 18:08:03 +00:00
DLL.cpp [COFF] Add support for delay loading DLLs on ARM 2017-07-25 20:00:37 +00:00
DLL.h Revert "Merge IAT and ILT." 2017-06-02 18:49:38 +00:00
Driver.cpp Add {Obj,Import,Bitcode}File::Instances to COFF input files. 2017-07-27 00:45:26 +00:00
Driver.h Remove unused declarations 2017-06-30 00:34:35 +00:00
DriverUtils.cpp lld: /manifestuac:no shouldn't disable /manifestdependency: 2017-07-26 23:38:10 +00:00
Error.cpp [lld/pdb] Add some basic linker module symbols. 2017-07-10 21:01:37 +00:00
Error.h [lld/pdb] Add some basic linker module symbols. 2017-07-10 21:01:37 +00:00
ICF.cpp Fix the sanitizer-windows bot. 2017-05-24 20:32:23 +00:00
InputFiles.cpp Add {Obj,Import,Bitcode}File::Instances to COFF input files. 2017-07-27 00:45:26 +00:00
InputFiles.h Add {Obj,Import,Bitcode}File::Instances to COFF input files. 2017-07-27 00:45:26 +00:00
LTO.cpp [coff] default to multiple parallel ThinLTO jobs 2017-04-12 18:36:13 +00:00
LTO.h Add an option to use the MSVC linker to link LTO-generated object files. 2017-02-06 20:47:55 +00:00
MapFile.cpp Add {Obj,Import,Bitcode}File::Instances to COFF input files. 2017-07-27 00:45:26 +00:00
MapFile.h COFF: Change the /lldmap output format to be more like the ELF linker. 2017-01-14 03:14:46 +00:00
MarkLive.cpp [COFF] Allow debug info to relocate against discarded symbols 2017-06-28 17:06:35 +00:00
Memory.h Remove lld/Support/Memory.h. 2016-12-18 14:06:06 +00:00
Options.td Remove /dumppdb option from LLD. 2017-06-16 23:41:44 +00:00
PDB.cpp [PDB] Fix section contributions 2017-08-03 21:15:09 +00:00
PDB.h [PDB] Fix section contributions 2017-08-03 21:15:09 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Strings.cpp Fix build breakage. 2017-06-19 18:04:34 +00:00
Strings.h COFF: Define overloaded toString functions. 2016-12-07 23:17:02 +00:00
SymbolTable.cpp Add {Obj,Import,Bitcode}File::Instances to COFF input files. 2017-07-27 00:45:26 +00:00
SymbolTable.h [PDB] Write public symbol records and the publics hash table 2017-07-27 18:25:59 +00:00
Symbols.cpp [PDB] Write public symbol records and the publics hash table 2017-07-27 18:25:59 +00:00
Symbols.h [PDB] Write public symbol records and the publics hash table 2017-07-27 18:25:59 +00:00
Writer.cpp [PDB] Fix section contributions 2017-08-03 21:15:09 +00:00
Writer.h COFF: Change the /lldmap output format to be more like the ELF linker. 2017-01-14 03:14:46 +00:00

README.md

See docs/NewLLD.rst