Move -dwarf-version to an MC level command line option so it's
authorEric Christopher <echristo@gmail.com>
Thu, 19 Jun 2014 06:22:08 +0000 (06:22 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 19 Jun 2014 06:22:08 +0000 (06:22 +0000)
commit179bb4e0eef028baf4015a12f962964739d3b542
treedd0277d3ad6781c720c3357baae30ee8d4d9849b
parent054bd5d288c9e9a480583e017dcea5df6d11af3a
Move -dwarf-version to an MC level command line option so it's
used by all of the MC level tools and codegen. Fix up all uses
in the compiler to use this and set it on the context accordingly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211257 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCTargetOptions.h
include/llvm/MC/MCTargetOptionsCommandFlags.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/MC/MCTargetOptions.cpp
tools/llvm-mc/llvm-mc.cpp