1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/MC
Sam Clegg 4052b885d0 [WebAssembly] Add placeholders for R_WASM_TABLE_INDEX_REL_SLEB relocations
Previously in the object format we punted on this and simply wrote
zeros (and didn't include the function in the elem segment).  With
this change we write a meaningful value which is the segment
relative table index of the associated function.

This matches the that wasm-ld produces in `-r` mode.  This inconsistency
between the output the MC object writer and the wasm-ld object
writer could cause warnings to be emitted when reading back in the
output of `wasm-ld -r`.  See:
https://github.com/emscripten-core/emscripten/issues/11217

This only applies to this one relocation type which is only generated
when compiling in PIC mode.

Differential Revision: https://reviews.llvm.org/D80774
2020-05-29 10:57:26 -07:00
..
MCDisassembler [AIX][XCOFF] add symbol priority for the llvm-objdump -D -symbol-description 2020-05-29 11:08:51 -04:00
MCParser [MC][NFC] Use camelCase style for functions in MCObjectStreamer 2020-04-20 20:09:20 -07:00
CMakeLists.txt
ConstantPools.cpp
ELFObjectWriter.cpp MCObjectWriter.h - remove Endian.h/EndianStream.h/raw_ostream.h includes. NFC 2020-04-17 10:44:08 +01:00
LLVMBuild.txt
MachObjectWriter.cpp
MCAsmBackend.cpp
MCAsmInfo.cpp
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmInfoELF.cpp
MCAsmInfoWasm.cpp
MCAsmInfoXCOFF.cpp [MC][Target][XCOFF] Consolidate MCAsmInfo XCOFF defaults; NFC 2020-04-30 20:48:30 -04:00
MCAsmMacro.cpp
MCAsmStreamer.cpp [AIX] emit .extern and .weak directive linkage 2020-04-30 09:54:10 -04:00
MCAssembler.cpp [MC][Bugfix] Remove redundant parameter for relaxInstruction 2020-04-21 11:06:55 +08:00
MCCodeEmitter.cpp
MCCodeView.cpp [MC][NFC] Use camelCase style for functions in MCObjectStreamer 2020-04-20 20:09:20 -07:00
MCContext.cpp [Clang] Restore replace_path_prefix instead of startswith 2020-05-13 13:49:14 -04:00
MCDwarf.cpp [MCDwarf] Delete unneeded DW_AT_unspecified_parameters 2020-05-24 22:36:57 -07:00
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp Clean up warnings after a2c8cd18128d3529992a86998d2bea80cceafff0 2020-04-30 17:01:30 +02:00
MCExpr.cpp [PowerPC] Fix missing GOT indirect variant kind 2020-05-06 05:50:56 -05:00
MCFragment.cpp
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp [MC] Move MCInstrAnalysis::evaluateBranch to X86MCInstrAnalysis::evaluateBranch 2020-04-29 23:23:52 -07:00
MCInstrDesc.cpp
MCInstrInfo.cpp
MCLabel.cpp
MCLinkerOptimizationHint.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Clean up warnings after a2c8cd18128d3529992a86998d2bea80cceafff0 2020-04-30 17:01:30 +02:00
MCNullStreamer.cpp
MCObjectFileInfo.cpp [XCOFF] XCOFF constants, MCObjectFileInfo placeholder code for DWARF; NFC 2020-05-08 16:51:34 -04:00
MCObjectStreamer.cpp [NFC] Clean up in MCObjectStreamer and X86AsmBackend 2020-05-09 12:50:44 +08:00
MCObjectWriter.cpp
MCRegisterInfo.cpp
MCSchedule.cpp
MCSection.cpp [MC][COFF][ELF] Reject instructions in IMAGE_SCN_CNT_UNINITIALIZED_DATA/SHT_NOBITS sections 2020-04-15 21:02:47 -07:00
MCSectionCOFF.cpp [MC][COFF][ELF] Reject instructions in IMAGE_SCN_CNT_UNINITIALIZED_DATA/SHT_NOBITS sections 2020-04-15 21:02:47 -07:00
MCSectionELF.cpp [MC][COFF][ELF] Reject instructions in IMAGE_SCN_CNT_UNINITIALIZED_DATA/SHT_NOBITS sections 2020-04-15 21:02:47 -07:00
MCSectionMachO.cpp
MCSectionWasm.cpp
MCSectionXCOFF.cpp [NFC][AIX] Remove spaces after the comma for '.csect' directive 2020-05-22 11:10:32 -04:00
MCStreamer.cpp [MC] Fix double negation of DW_CFA_def_cfa 2020-05-22 21:02:53 -07:00
MCSubtargetInfo.cpp
MCSymbol.cpp
MCSymbolELF.cpp
MCSymbolXCOFF.cpp
MCTargetOptions.cpp
MCTargetOptionsCommandFlags.cpp MCTargetOptionsCommandFlags.h - remove unnecessary includes. NFC. 2020-05-19 15:15:26 +01:00
MCValue.cpp
MCWasmObjectTargetWriter.cpp
MCWasmStreamer.cpp [MC][NFC] Use camelCase style for functions in MCObjectStreamer 2020-04-20 20:09:20 -07:00
MCWin64EH.cpp
MCWinCOFFStreamer.cpp [MC][NFC] Use camelCase style for functions in MCObjectStreamer 2020-04-20 20:09:20 -07:00
MCWinEH.cpp
MCXCOFFObjectTargetWriter.cpp
MCXCOFFStreamer.cpp [XCOFF][AIX] Emit correct alignment for csect 2020-05-11 19:43:10 +00:00
StringTableBuilder.cpp
SubtargetFeature.cpp
WasmObjectWriter.cpp [WebAssembly] Add placeholders for R_WASM_TABLE_INDEX_REL_SLEB relocations 2020-05-29 10:57:26 -07:00
WinCOFFObjectWriter.cpp MCObjectWriter.h - remove Endian.h/EndianStream.h/raw_ostream.h includes. NFC 2020-04-17 10:44:08 +01:00
XCOFFObjectWriter.cpp [AIX] emit .extern and .weak directive linkage 2020-04-30 09:54:10 -04:00