Go to file
Reid Kleckner fbdbe9e22b [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
clang PCH + module: make sure we write out macros associated with builtin identifiers. 2016-05-31 18:19:32 +00:00
clang-tools-extra [find-all-symbols] remove dots in SymbolInfo file paths. 2016-05-31 17:37:38 +00:00
compiler-rt Local var name change /NFC 2016-05-31 17:41:06 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Use single precision fmax in sp path 2016-05-17 19:44:01 +00:00
libcxx Issues for Oulu 2016-05-31 14:29:38 +00:00
libcxxabi [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
libunwind [libunwind] Improve unwinder stack usage - II 2016-05-27 15:41:45 +00:00
lld [ELF] Unbreak build with GCC. 2016-05-28 23:27:38 +00:00
lldb Implement ProcessInfo::Dump(), log gdb-remote stub launch 2016-05-31 18:32:20 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm [codeview] Improve readability of type record assembly 2016-05-31 18:45:36 +00:00
openmp Fix storing the frame pointer for OMP-T during ppc64 microtask dispatch 2016-05-27 19:04:05 +00:00
polly [GSoC 2016] [Polly] [FIX] Determination of statements that contain matrix 2016-05-31 11:22:21 +00:00