1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/lib/Object
Wouter van Oortmerssen 9741215258 [WebAssembly] Fixed objdump not parsing function headers.
Summary:
objdump was interpreting the function header containing the locals
declaration as instructions. To parse these without injecting target
specific code in objdump, MCDisassembler::onSymbolStart was added to
be implemented by the WebAssembly implemention.

WasmObjectFile now returns a code offset for the "address" of a symbol,
rather than the index. This is also more in-line with what other
targets do.

Also ensured that the AsmParser correctly puts each function
in its own segment to enable this test case.

Reviewers: sbc100, dschuff

Subscribers: jgravelle-google, aheejin, sunfish, rupprecht, llvm-commits

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

llvm-svn: 351460
2019-01-17 18:14:09 +00:00
..
Archive.cpp
ArchiveWriter.cpp [llvm-ar] Simplify string table get-or-insert pattern with .insert, NFC 2018-12-19 20:54:06 +00:00
Binary.cpp Don't require a null terminator when loading objects 2019-01-09 23:36:32 +00:00
CMakeLists.txt
COFFImportFile.cpp [COFF] Use symbolic constants instead of hardcoded numbers. NFCI. 2018-07-20 20:48:33 +00:00
COFFModuleDefinition.cpp
COFFObjectFile.cpp [llvm-readobj] [COFF] Print the symbol index for relocations 2019-01-03 08:08:23 +00:00
Decompressor.cpp
ELF.cpp [Object] Rename getRelrRelocationType to getRelativeRelocationType 2018-12-14 07:46:58 +00:00
ELFObjectFile.cpp Use unique_ptr to hold MCInstrInfo 2018-08-24 21:03:35 +00:00
Error.cpp Add vtable anchor to classes. 2018-12-29 02:02:13 +00:00
IRObjectFile.cpp
IRSymtab.cpp Put "built-in" function definitions in global Used list, for LTO. (fix bug 34169) 2018-07-24 19:34:37 +00:00
LLVMBuild.txt
MachOObjectFile.cpp [Object] Return a symbol_iterator, rather than a basic_symbol_iterator, from 2019-01-14 22:05:12 +00:00
MachOUniversal.cpp
ModuleSymbolTable.cpp [macho] save the SDK version stored in module metadata into the version min and 2018-12-14 01:14:10 +00:00
Object.cpp Use llvm::copy. NFC 2018-11-17 01:44:25 +00:00
ObjectFile.cpp [llvm-size][libobject] Add explicit "inTextSegment" methods similar to "isText" section methods to calculate size correctly. 2018-12-13 19:40:12 +00:00
RecordStreamer.cpp [MC] Error on a .zerofill directive in a non-virtual section 2018-07-02 17:29:43 +00:00
RecordStreamer.h [MC] Error on a .zerofill directive in a non-virtual section 2018-07-02 17:29:43 +00:00
SymbolicFile.cpp
SymbolSize.cpp
WasmObjectFile.cpp [WebAssembly] Fixed objdump not parsing function headers. 2019-01-17 18:14:09 +00:00
WindowsResource.cpp Use llvm::copy. NFC 2018-11-17 01:44:25 +00:00