Emit DWARF info for all code section in an assembly file
authorOliver Stannard <oliver.stannard@arm.com>
Thu, 19 Jun 2014 15:52:37 +0000 (15:52 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Thu, 19 Jun 2014 15:52:37 +0000 (15:52 +0000)
commit591f9ee07680fb678e4510c94ff65b0d0a48d224
treeb51cc79c9f4fbd0515af2407f4dace94eedd81c5
parentbb804ee909a0e81d39920bdc8272e624fb8da443
Emit DWARF info for all code section in an assembly file

Currently, when using llvm as an assembler, DWARF debug information is only
generated for the .text section. This patch modifies this so that DWARF info
is emitted for all executable sections.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211273 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/MapVector.h
include/llvm/MC/MCContext.h
include/llvm/MC/MCObjectStreamer.h
include/llvm/MC/MCStreamer.h
lib/MC/MCContext.cpp
lib/MC/MCDwarf.cpp
lib/MC/MCParser/AsmParser.cpp
lib/MC/MCParser/ELFAsmParser.cpp