Index: lib/Driver/Tools.cpp |
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp |
index 567fd8cf92b2f83afb05454f749646ee28a8f3ca..05e81f55fff0020b42eb4d89bbe9b17e3e7c6567 100644 |
--- a/lib/Driver/Tools.cpp |
+++ b/lib/Driver/Tools.cpp |
@@ -1712,6 +1712,13 @@ void Clang::AddX86TargetArgs(const ArgList &Args, |
<< A->getOption().getName() << Value; |
} |
} |
+ |
+ // @LOCALMOD-START |
+ if (Args.getLastArg(options::OPT_malign_double)) { |
+ CmdArgs.push_back("-mllvm"); |
+ CmdArgs.push_back("-malign-double"); |
+ } |
+ // @LOCALMOD-END |
} |
static inline bool HasPICArg(const ArgList &Args) { |