1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/include/llvm/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.h
ArchiveWriter.h
Binary.h
COFF.h [llvm-readobj] [COFF] Print the symbol index for relocations 2019-01-03 08:08:23 +00:00
COFFImportFile.h
COFFModuleDefinition.h
CVDebugRecord.h
Decompressor.h
ELF.h [Object] Rename getRelrRelocationType to getRelativeRelocationType 2018-12-14 07:46:58 +00:00
ELFObjectFile.h [llvm-size][libobject] Add explicit "inTextSegment" methods similar to "isText" section methods to calculate size correctly. 2018-12-13 19:40:12 +00:00
ELFTypes.h Follow-up fix to r348811 for null Errors (which is the case for end iterators) 2018-12-11 00:17:36 +00:00
Error.h Add vtable anchor to classes. 2018-12-29 02:02:13 +00:00
IRObjectFile.h
IRSymtab.h
MachO.h [Object] Return a symbol_iterator, rather than a basic_symbol_iterator, from 2019-01-14 22:05:12 +00:00
MachOUniversal.h
ModuleSymbolTable.h
ObjectFile.h [llvm-size][libobject] Add explicit "inTextSegment" methods similar to "isText" section methods to calculate size correctly. 2018-12-13 19:40:12 +00:00
RelocVisitor.h [llvm-dwarfdump] - Do not error out on R_X86_64_DTPOFF64/R_X86_64_DTPOFF32 relocations. 2018-12-18 12:15:01 +00:00
StackMapParser.h
SymbolicFile.h
SymbolSize.h
Wasm.h [WebAssembly] Fixed objdump not parsing function headers. 2019-01-17 18:14:09 +00:00
WasmTraits.h [WebAssembly] Refactor WasmSignature and use it for MCSymbolWasm 2018-10-03 22:22:48 +00:00
WindowsResource.h