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)
commit4c5bff36ad5574af0df697192003c5ccef4a1297
treedb3f282fdaa850cef0bbf29723f4f05c817b4212
parent07634e2a5bfb0ef5667c2c21f01ade34358aeb29
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.

llvm-svn: 211257
llvm/include/llvm/MC/MCTargetOptions.h
llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/MC/MCTargetOptions.cpp
llvm/tools/llvm-mc/llvm-mc.cpp