llvm-project/lld/wasm
Sam Clegg 0dbe57e752 [WebAssembly] Fix bug where reloc addends were written as unsigned
Relocation addends can be negative so should be written as
signed LEBs. This bug meant that writing value between 64
and 128 would be incorrectly interpreted as negative by the
object file readers.

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

llvm-svn: 330374
2018-04-19 22:48:03 +00:00
..
CMakeLists.txt [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
Config.h [WebAssembly] Name Config members after commandline argument. NFC 2018-03-28 12:53:29 +00:00
Driver.cpp [WebAssembly] Remove StackPointerGlobal member variable from the driver. 2018-04-05 19:37:48 +00:00
InputChunks.cpp [WebAssembly] Fix bug where reloc addends were written as unsigned 2018-04-19 22:48:03 +00:00
InputChunks.h [WebAssembly] Match llvm change to custom section size 2018-04-12 20:31:35 +00:00
InputFiles.cpp [WebAssembly] Add support for custom sections 2018-04-10 16:12:49 +00:00
InputFiles.h [WebAssembly] Add support for custom sections 2018-04-10 16:12:49 +00:00
InputGlobal.h [WebAssembly] Refactor to avoid conflating global and fucntion index space. NFC 2018-03-12 19:56:23 +00:00
MarkLive.cpp [WebAssembly] Handle weak undefined functions with a synthetic stub 2018-03-09 17:06:38 +00:00
MarkLive.h Consistent (non) use of empty lines in include blocks 2018-02-20 21:53:18 +00:00
Options.td [WebAssembly] Add export/import for function pointer table 2018-03-27 17:38:51 +00:00
OutputSections.cpp [WebAssembly] Add support for custom sections 2018-04-10 16:12:49 +00:00
OutputSections.h [WebAssembly] Add support for custom sections 2018-04-10 16:12:49 +00:00
OutputSegment.h [WebAssembly] Remove another trivial accessor. 2018-04-05 19:37:31 +00:00
SymbolTable.cpp [WebAssembly] Avoid COMDAT hashmap lookup for each symbol. NFC 2018-03-14 15:45:11 +00:00
SymbolTable.h [WebAssembly] Avoid COMDAT hashmap lookup for each symbol. NFC 2018-03-14 15:45:11 +00:00
Symbols.cpp [WebAssembly] Refactor to avoid conflating global and fucntion index space. NFC 2018-03-12 19:56:23 +00:00
Symbols.h [WebAssembly] Refactor to avoid conflating global and fucntion index space. NFC 2018-03-12 19:56:23 +00:00
Writer.cpp [WebAssembly] Add support for custom sections 2018-04-10 16:12:49 +00:00
Writer.h
WriterUtils.cpp [WebAssembly] Add export/import for function pointer table 2018-03-27 17:38:51 +00:00
WriterUtils.h [WebAssembly] Add export/import for function pointer table 2018-03-27 17:38:51 +00:00