From 8040d49d85fd0a7c26fdbc2676afe4556d12f15a Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 27 Mar 2014 20:45:41 +0000 Subject: 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 --- lib/CodeGen/LLVMTargetMachine.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/CodeGen/LLVMTargetMachine.cpp') diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp index 77f8377d9b..9c2718be7f 100644 --- a/lib/CodeGen/LLVMTargetMachine.cpp +++ b/lib/CodeGen/LLVMTargetMachine.cpp @@ -75,6 +75,9 @@ void LLVMTargetMachine::initAsmInfo() { if (Options.DisableIntegratedAS) TmpAsmInfo->setUseIntegratedAssembler(false); + if (Options.CompressDebugSections) + TmpAsmInfo->setCompressDebugSections(true); + AsmInfo = TmpAsmInfo; } -- cgit v1.2.3