[PATCH] Emit DWARF info for all code section in an assembly file
Oliver Stannard
oliver.stannard at arm.com
Wed Apr 2 09:26:56 PDT 2014
After rebasing, one test has started failing: test/MC/ELF/gen-dwarf.s. This was because we do not track which sections have had instructions emitted when we are emitting assembly (as opposed to object files). My patch was using this information to avoid emitting DWARF information for empty sections. Because of this, I have modified my patch to emit DWARF for all sections.
Hi echristo, rengolin,
http://llvm-reviews.chandlerc.com/D2697
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D2697?vs=7876&id=8304#toc
Files:
include/llvm/MC/MCContext.h
include/llvm/MC/MCObjectStreamer.h
include/llvm/MC/MCStreamer.h
lib/MC/MCDwarf.cpp
lib/MC/MCParser/AsmParser.cpp
lib/MC/MCParser/ELFAsmParser.cpp
test/MC/ARM/dwarf-asm-multiple-sections.s
test/MC/ARM/dwarf-asm-single-section.s
test/MC/ELF/gen-dwarf.s
tools/llvm-mc/llvm-mc.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2697.7.patch
Type: text/x-patch
Size: 29304 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140402/e7e7c165/attachment.bin>
More information about the llvm-commits
mailing list