summaryrefslogtreecommitdiff
path: root/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-03-27 20:45:41 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-03-27 20:45:41 +0000
commit8040d49d85fd0a7c26fdbc2676afe4556d12f15a (patch)
tree501c90479de2917983fb6d9169e17bf815504d16 /lib/CodeGen/LLVMTargetMachine.cpp
parent0c0cd3a4ee0a9bf48b396b2c94bbd0504f2e0e57 (diff)
downloadllvm-8040d49d85fd0a7c26fdbc2676afe4556d12f15a.tar.gz
llvm-8040d49d85fd0a7c26fdbc2676afe4556d12f15a.tar.bz2
llvm-8040d49d85fd0a7c26fdbc2676afe4556d12f15a.tar.xz
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
Diffstat (limited to 'lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r--lib/CodeGen/LLVMTargetMachine.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}