Record the DWARF version in MCContext
authorOliver Stannard <oliver.stannard@arm.com>
Thu, 1 May 2014 08:46:02 +0000 (08:46 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Thu, 1 May 2014 08:46:02 +0000 (08:46 +0000)
commit5604ab9da4dadbfec85c650da27f841932c9cde8
tree16df1929140d3df5e62f09808cf45474267929d5
parenta1a235f869cd1c7d2716ab20242f06589775442e
Record the DWARF version in MCContext

Record the DWARF version in MCContext, and use it when
emitting the dwarf version into the debug info.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207739 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCContext.h
lib/MC/MCDwarf.cpp
test/MC/ELF/gen-dwarf.s
tools/llvm-mc/llvm-mc.cpp