summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-05-15 01:08:00 +0000
committerEric Christopher <echristo@gmail.com>2014-05-15 01:08:00 +0000
commitafc6099348a77ec9c9b81fe90824975dca9f2d75 (patch)
tree211802e01cc6c77b60683872e0aa44f2ccf4fea4 /lib
parente880187bb66294944e68c1d5e099813adb4b55e2 (diff)
Move the TargetMachine MC options to MCTargetOptions. No functional
change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208832 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/MC/MCTargetOptions.cpp4
-rw-r--r--lib/Target/TargetMachine.cpp4
2 files changed, 3 insertions, 5 deletions
diff --git a/lib/MC/MCTargetOptions.cpp b/lib/MC/MCTargetOptions.cpp
index a38990934d9..0bcfce9eac9 100644
--- a/lib/MC/MCTargetOptions.cpp
+++ b/lib/MC/MCTargetOptions.cpp
@@ -11,6 +11,8 @@
namespace llvm {
-MCTargetOptions::MCTargetOptions() : SanitizeAddress(false) {}
+MCTargetOptions::MCTargetOptions()
+ : SanitizeAddress(false), MCRelaxAll(false), MCNoExecStack(false),
+ MCSaveTempLabels(false), MCUseDwarfDirectory(false) {}
} // end namespace llvm
diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp
index 741209162a5..d60a70846a7 100644
--- a/lib/Target/TargetMachine.cpp
+++ b/lib/Target/TargetMachine.cpp
@@ -55,10 +55,6 @@ TargetMachine::TargetMachine(const Target &T,
const TargetOptions &Options)
: TheTarget(T), TargetTriple(TT), TargetCPU(CPU), TargetFS(FS),
CodeGenInfo(nullptr), AsmInfo(nullptr),
- MCRelaxAll(false),
- MCNoExecStack(false),
- MCSaveTempLabels(false),
- MCUseDwarfDirectory(false),
RequireStructuredCFG(false),
Options(Options) {
}