[PATCH] D15732: Form reform for MCDwarf

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 22 17:49:38 PST 2015


probinson created this revision.
probinson added reviewers: echristo, aprantl.
probinson added a subscriber: llvm-commits.

MCDwarf emits a canned abbreviation table, but was not emitting proper
forms for DWARF version 4, which is the default after r249655.

Note: test/MC/MachO/gen-dwarf.s was modified to look for the new
forms, even though Darwin normally wants to default to DWARF 2.
But I think only llvm-mc works this way; if you compile an assembler
file with Clang, it gets the target-based default, because the
driver always passes -dwarf-version and does target defaulting.

FTR the line table produced by MCDwarf is hard-coded to DWARF 2,
regardless of what's requested.


http://reviews.llvm.org/D15732

Files:
  lib/MC/MCDwarf.cpp
  test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.s
  test/MC/ARM/dwarf-asm-multiple-sections.s
  test/MC/ARM/dwarf-asm-nonstandard-section.s
  test/MC/ARM/dwarf-asm-single-section.s
  test/MC/MachO/gen-dwarf.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15732.43494.patch
Type: text/x-patch
Size: 7144 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151223/d39e920f/attachment.bin>


More information about the llvm-commits mailing list