1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/include/llvm/MC
Eric Astor 164df8d6f0 [ms] [llvm-ml] Add initial MASM STRUCT/UNION support
Summary:
Add support for user-defined types to MasmParser, including initialization and field access.

Known issues:
- Omitted entry initializers (e.g., <,0>) do not work consistently for nested structs/arrays.
- Size checking/inference for values with known types is not yet implemented.
- Some ml64.exe syntaxes for accessing STRUCT fields are not recognized.
  - `[<register>.<struct name>].<field>`
  - `[<register>[<struct name>.<field>]]`
  - `(<struct name> PTR [<register>]).<field>`
  - `[<variable>.<struct name>].<field>`
  - `(<struct name> PTR <variable>).<field>`

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D75306
2020-07-07 17:02:10 -04:00
..
MCDisassembler [MC] Pass the symbol rather than its name to onSymbolStart() 2020-06-19 09:30:12 +05:30
MCParser [ms] [llvm-ml] Add initial MASM STRUCT/UNION support 2020-07-07 17:02:10 -04:00
ConstantPools.h ConstantPools.h - remove unused DenseMap.h include. NFC. 2020-04-17 10:44:07 +01:00
LaneBitmask.h Fixed windows failure after D74873 2020-03-31 14:07:07 -07:00
MachineLocation.h
MCAsmBackend.h [MC][Bugfix] Remove redundant parameter for relaxInstruction 2020-04-21 11:06:55 +08:00
MCAsmInfo.h [XCOFF][AIX] Give symbol an internal name when desired symbol name contains invalid character(s) 2020-07-06 15:49:15 +00:00
MCAsmInfoCOFF.h
MCAsmInfoDarwin.h
MCAsmInfoELF.h
MCAsmInfoWasm.h
MCAsmInfoXCOFF.h
MCAsmLayout.h [MC] Fix PR45805: infinite recursion in assembler 2020-06-25 15:42:36 +01:00
MCAsmMacro.h
MCAssembler.h Temporarily Revert [X86] Not track size of the boudaryalign fragment during the layout 2020-03-03 11:15:56 +08:00
MCCodeEmitter.h
MCCodeView.h
MCContext.h [XCOFF][AIX] Give symbol an internal name when desired symbol name contains invalid character(s) 2020-07-06 15:49:15 +00:00
MCDirectives.h [AIX] emit .extern and .weak directive linkage 2020-04-30 09:54:10 -04:00
MCDwarf.h [MC] Change MCCFIInstruction::createDefCfaOffset to cfiDefCfaOffset which does not negate Offset 2020-05-22 17:07:11 -07:00
MCELFObjectWriter.h [MC][mips] Replace setRType## methods by single setRTypes function. NFC 2020-04-24 12:13:27 +03:00
MCELFStreamer.h [MC][NFC] Use camelCase style for functions in MCObjectStreamer 2020-04-20 20:09:20 -07:00
MCExpr.h [VE] Support symbol with offset in assembly 2020-07-07 04:16:51 +09:00
MCFixedLenDisassembler.h
MCFixup.h [MC][ARM] Make .reloc support arbitrary relocation types 2020-03-27 12:29:49 -07:00
MCFixupKindInfo.h
MCFragment.h [MC] Fix PR45805: infinite recursion in assembler 2020-06-25 15:42:36 +01:00
MCInst.h
MCInstBuilder.h
MCInstPrinter.h [X86InstPrinter] Change printPCRelImm to print the target address in hexadecimal form 2020-03-26 08:28:59 -07:00
MCInstrAnalysis.h
MCInstrDesc.h MCInstrDesc.h - move MCSubtargetInfo forward declaration down to MCInstrInfo.h. NFC. 2020-04-16 17:13:56 +01:00
MCInstrInfo.h MCInstrDesc.h - move MCSubtargetInfo forward declaration down to MCInstrInfo.h. NFC. 2020-04-16 17:13:56 +01:00
MCInstrItineraries.h
MCLabel.h
MCLinkerOptimizationHint.h
MCMachObjectWriter.h MCObjectWriter.h - remove Endian.h/EndianStream.h/raw_ostream.h includes. NFC 2020-04-17 10:44:08 +01:00
MCObjectFileInfo.h [DWARF5] Added support for emission of .debug_macro.dwo section 2020-05-30 11:13:23 +05:30
MCObjectStreamer.h Re-land [MC] Fix quadratic behavior in addPendingLabel 2020-04-26 10:39:42 -04:00
MCObjectWriter.h MCObjectWriter.h - remove Endian.h/EndianStream.h/raw_ostream.h includes. NFC 2020-04-17 10:44:08 +01:00
MCRegister.h [NFCI] Cleanup range checks in Register/MCRegister 2020-06-26 14:55:55 -04:00
MCRegisterInfo.h
MCSchedule.h MCSchedule.h - replace ArrayRef.h include with forward declaration. NFC. 2020-04-16 17:13:56 +01:00
MCSection.h [MC][COFF][ELF] Reject instructions in IMAGE_SCN_CNT_UNINITIALIZED_DATA/SHT_NOBITS sections 2020-04-15 21:02:47 -07:00
MCSectionCOFF.h [MC][COFF][ELF] Reject instructions in IMAGE_SCN_CNT_UNINITIALIZED_DATA/SHT_NOBITS sections 2020-04-15 21:02:47 -07:00
MCSectionELF.h [MC][COFF][ELF] Reject instructions in IMAGE_SCN_CNT_UNINITIALIZED_DATA/SHT_NOBITS sections 2020-04-15 21:02:47 -07:00
MCSectionMachO.h [MC] Replace MCSection*::getName() with MCSection::getName(). NFC 2020-04-15 18:35:27 -07:00
MCSectionWasm.h MCSectionWasm.h - reduce includes to forward declarations. NFC. 2020-06-27 10:03:34 +01:00
MCSectionXCOFF.h [XCOFF][AIX] Give symbol an internal name when desired symbol name contains invalid character(s) 2020-07-06 15:49:15 +00:00
MCStreamer.h [XCOFF][AIX] Give symbol an internal name when desired symbol name contains invalid character(s) 2020-07-06 15:49:15 +00:00
MCSubtargetInfo.h [LoopDataPrefetch + SystemZ] Let target decide on prefetching for each loop. 2020-04-02 14:57:46 +02:00
MCSymbol.h
MCSymbolCOFF.h
MCSymbolELF.h
MCSymbolMachO.h
MCSymbolWasm.h [WebAssembly] Emit .llvmcmd and .llvmbc as custom sections 2020-04-14 13:24:18 -07:00
MCSymbolXCOFF.h [XCOFF][AIX] Give symbol an internal name when desired symbol name contains invalid character(s) 2020-07-06 15:49:15 +00:00
MCTargetOptions.h [MC] Pass down argv0 & cc1 cmd-line to the back-end and store in MCTargetOptions 2020-06-18 09:17:14 -04:00
MCTargetOptionsCommandFlags.h [MC] Add --dwarf64 to generate DWARF64 debug info [1/7] 2020-06-16 15:50:13 +07:00
MCValue.h MCValue.h - cleanup include and forward declaration. NFC. 2020-04-16 15:18:24 +01:00
MCWasmObjectWriter.h
MCWasmStreamer.h [MC][NFC] Use camelCase style for functions in MCObjectStreamer 2020-04-20 20:09:20 -07:00
MCWin64EH.h
MCWinCOFFObjectWriter.h
MCWinCOFFStreamer.h [MC][NFC] Use camelCase style for functions in MCObjectStreamer 2020-04-20 20:09:20 -07:00
MCWinEH.h
MCXCOFFObjectWriter.h
MCXCOFFStreamer.h [XCOFF][AIX] Give symbol an internal name when desired symbol name contains invalid character(s) 2020-07-06 15:49:15 +00:00
SectionKind.h
StringTableBuilder.h
SubtargetFeature.h