]> granicus.if.org Git - llvm/commit
sink DebugCompressionType into MC for exposing to clang
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 9 Jun 2017 00:40:19 +0000 (00:40 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 9 Jun 2017 00:40:19 +0000 (00:40 +0000)
commite6be41f2a82aa149a786a36403f3ef0c2f991f2e
treeb774dc8321c3aaf01fcb108192c6e896315f09a8
parent68ca30aa362b18b755319022898494135be8acb1
sink DebugCompressionType into MC for exposing to clang

This is a preparatory change to expose the debug compression style to
clang.  It requires exposing the enumeration and passing the actual
value through to the backend from the frontend in actual value form
rather than a boolean that selects the GNU style of debug info
compression.

Minor tweak to the ELF Object Writer to use a variable for re-used
values.  Add an assertion that debug information format is one of the
two currently known types if debug information is being compressed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305038 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAsmInfo.h
include/llvm/MC/MCTargetOptions.h
include/llvm/Target/TargetOptions.h
lib/CodeGen/LLVMTargetMachine.cpp
lib/MC/ELFObjectWriter.cpp
tools/llvm-mc/llvm-mc.cpp