diff options
author | Eric Christopher <echristo@gmail.com> | 2014-05-15 01:08:00 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-05-15 01:08:00 +0000 |
commit | afc6099348a77ec9c9b81fe90824975dca9f2d75 (patch) | |
tree | 211802e01cc6c77b60683872e0aa44f2ccf4fea4 /lib | |
parent | e880187bb66294944e68c1d5e099813adb4b55e2 (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.cpp | 4 | ||||
-rw-r--r-- | lib/Target/TargetMachine.cpp | 4 |
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) { } |