1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/include/llvm/MC
Reid Kleckner 05a06ad643 [codeview] Improve readability of type record assembly
Adds the method MCStreamer::EmitBinaryData, which is usually an alias
for EmitBytes. In the MCAsmStreamer case, it is overridden to emit hex
dump output like this:
        .byte   0x0e, 0x00, 0x08, 0x10
        .byte   0x03, 0x00, 0x00, 0x00
        .byte   0x00, 0x00, 0x00, 0x00
        .byte   0x00, 0x10, 0x00, 0x00

Also, when verbose asm comments are enabled, this patch prints the dump
output for each comment before its record, like this:
        # ArgList (0x1000) {
        #   TypeLeafKind: LF_ARGLIST (0x1201)
        #   NumArgs: 0
        #   Arguments [
        #   ]
        # }
        .byte   0x06, 0x00, 0x01, 0x12
        .byte   0x00, 0x00, 0x00, 0x00

This should make debugging easier and testing more convenient.

Reviewers: aaboud

Subscribers: majnemer, zturner, amccarth, aaboud, llvm-commits

Differential Revision: http://reviews.llvm.org/D20711

llvm-svn: 271313
2016-05-31 18:45:36 +00:00
..
MCDisassembler [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MCParser Apply clang-tidy's misc-move-constructor-init throughout LLVM. 2016-05-27 14:27:24 +00:00
ConstantPools.h
MachineLocation.h
MCAsmBackend.h [MCAssembler] Allow backend to finalize layout post-relaxation. 2016-04-27 21:26:13 +00:00
MCAsmInfo.h X86: permit using SjLj EH on x86 targets as an option 2016-05-31 01:48:07 +00:00
MCAsmInfoCOFF.h
MCAsmInfoDarwin.h
MCAsmInfoELF.h [WebAssembly] Don't create a needless .note.GNU-stack section 2016-01-15 23:59:13 +00:00
MCAsmLayout.h
MCAssembler.h There's no reason to use _ to name variables different just for construction. 2016-05-24 22:15:54 +00:00
MCCodeEmitter.h
MCCodeGenInfo.h Delete unused defaults. 2016-05-17 18:11:58 +00:00
MCCodeView.h [MC] Add support for encoding CodeView variable definition ranges 2016-02-05 01:55:49 +00:00
MCContext.h Revert r270569 (teach llvm-mc to generate compressed debug sections in zlib 2016-05-25 00:14:12 +00:00
MCDirectives.h [MachO] Add MachO alt-entry directive support. 2016-03-15 01:43:05 +00:00
MCDwarf.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MCELFObjectWriter.h [mips] Correct the ordering of HI/LO pairs in the relocation table. 2016-05-06 13:49:25 +00:00
MCELFStreamer.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MCExpr.h [mips] Use MipsMCExpr instead of MCSymbolRefExpr for all relocations. 2016-05-03 13:35:44 +00:00
MCFixedLenDisassembler.h
MCFixup.h
MCFixupKindInfo.h
MCFragment.h [MC] Add support for encoding CodeView variable definition ranges 2016-02-05 01:55:49 +00:00
MCInst.h
MCInstBuilder.h
MCInstPrinter.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MCInstrAnalysis.h
MCInstrDesc.h
MCInstrInfo.h
MCInstrItineraries.h
MCLabel.h
MCLinkerOptimizationHint.h
MCMachObjectWriter.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MCObjectFileInfo.h Don't pass a Reloc::Model to MC. 2016-05-18 11:58:50 +00:00
MCObjectStreamer.h [MC] Support symbolic expressions in assembly directives 2016-05-28 05:57:48 +00:00
MCObjectWriter.h Move MCTargetAsmParser.h to llvm/MC/MCParser where it belongs. 2016-01-27 10:01:28 +00:00
MCRegisterInfo.h [codeview] Describe int local variables using .cv_def_range 2016-02-10 20:55:49 +00:00
MCSchedule.h [MCSchedule] Remove comments about MinLatency. NFC 2016-03-14 00:36:19 +00:00
MCSection.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MCSectionCOFF.h [MC] Create unique .pdata sections for every .text section 2016-05-02 23:22:18 +00:00
MCSectionELF.h Recommit 270977 - [llvm-mc] - Teach llvm-mc to generate zlib styled compression sections. 2016-05-27 12:27:32 +00:00
MCSectionMachO.h
MCStreamer.h [codeview] Improve readability of type record assembly 2016-05-31 18:45:36 +00:00
MCSubtargetInfo.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MCSymbol.h
MCSymbolCOFF.h
MCSymbolELF.h
MCSymbolMachO.h [MachO] Add MachO alt-entry directive support. 2016-03-15 01:43:05 +00:00
MCTargetOptions.h
MCTargetOptionsCommandFlags.h
MCValue.h
MCWin64EH.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MCWinCOFFObjectWriter.h
MCWinCOFFStreamer.h
MCWinEH.h [MC] Create unique .pdata sections for every .text section 2016-05-02 23:22:18 +00:00
SectionKind.h [X86] Create mergeable constant pool entries for AVX 2016-02-22 22:23:11 +00:00
StringTableBuilder.h Make StringTableBuilder to cache hash values. 2016-05-06 00:51:58 +00:00
SubtargetFeature.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00