summaryrefslogtreecommitdiff
path: root/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-01-24 03:54:40 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-01-24 03:54:40 +0000
commita1f7c26cc8028c73842065e33f0acdee40cf868d (patch)
treee39b50ca509276861f81630b2a870f4ac6f964e5 /lib/CodeGen/LLVMTargetMachine.cpp
parentb385559db946cf0838494409dc98183f3989f8a8 (diff)
downloadllvm-a1f7c26cc8028c73842065e33f0acdee40cf868d.tar.gz
llvm-a1f7c26cc8028c73842065e33f0acdee40cf868d.tar.bz2
llvm-a1f7c26cc8028c73842065e33f0acdee40cf868d.tar.xz
Simplify the logic for deciding when to initialize the sections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r--lib/CodeGen/LLVMTargetMachine.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp
index 2a92e2312a..f30c515335 100644
--- a/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/lib/CodeGen/LLVMTargetMachine.cpp
@@ -208,7 +208,6 @@ bool LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
*Context, *MAB, Out,
MCE, hasMCRelaxAll(),
hasMCNoExecStack()));
- AsmStreamer.get()->setAutoInitSections(true);
break;
}
case CGFT_Null: