DebugInfo: TargetOptions/MCAsmInfo support for compressed debug info sections

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204957 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie
2014-03-27 20:45:41 +00:00
parent 0c0cd3a4ee
commit 8040d49d85
3 changed files with 17 additions and 2 deletions

View File

@@ -75,6 +75,9 @@ void LLVMTargetMachine::initAsmInfo() {
if (Options.DisableIntegratedAS)
TmpAsmInfo->setUseIntegratedAssembler(false);
if (Options.CompressDebugSections)
TmpAsmInfo->setCompressDebugSections(true);
AsmInfo = TmpAsmInfo;
}