aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/TargetMachine.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-05-26 21:48:55 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-05-26 21:48:55 +0000
commitcb8326dc09d900688b2d15bd9c977d1c3b722427 (patch)
tree2927931086688576d994788d2a350faa5ab99769 /lib/Target/TargetMachine.cpp
parent160a3bf74d1a2b048f65e2162d038ed96eddde01 (diff)
MC: Add TargetMachine support for setting the value of MCRelaxAll with
-filetype=obj. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104747 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetMachine.cpp')
-rw-r--r--lib/Target/TargetMachine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp
index b947b786a4..df523688c5 100644
--- a/lib/Target/TargetMachine.cpp
+++ b/lib/Target/TargetMachine.cpp
@@ -212,7 +212,8 @@ FunctionSections("ffunction-sections",
//
TargetMachine::TargetMachine(const Target &T)
- : TheTarget(T), AsmInfo(0) {
+ : TheTarget(T), AsmInfo(0),
+ MCRelaxAll(false) {
// Typically it will be subtargets that will adjust FloatABIType from Default
// to Soft or Hard.
if (UseSoftFloat)