[PATCH] Support for generating DWARF .debug_aranges sections.

Richard Mitton richard at codersnotes.com
Wed Sep 11 13:30:39 PDT 2013


This patch enables LLVM to generate a DWARF .debug_aranges section.

Previously LLVM would simply not generate any data for this (or would rely on a tool like dsymutil to do it instead). This patch allows debuggers to use this data to accelerate file loading.

I really have no idea what I'm doing with regards to LLVM's internals, so someone more knowledgeable should definitely review this.


http://llvm-reviews.chandlerc.com/D1649

Files:
  include/llvm/MC/MCELFStreamer.h
  include/llvm/MC/MCStreamer.h
  include/llvm/Support/Dwarf.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/CodeGen/AsmPrinter/DwarfDebug.h
  lib/MC/MCAsmStreamer.cpp
  lib/MC/MCELFStreamer.cpp
  lib/MC/MCMachOStreamer.cpp
  lib/MC/MCNullStreamer.cpp
  lib/MC/MCPureStreamer.cpp
  lib/MC/MCStreamer.cpp
  lib/MC/WinCOFFStreamer.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
  lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1649.1.patch
Type: text/x-patch
Size: 20195 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130911/09d6a401/attachment.bin>


More information about the llvm-commits mailing list