[cfe-commits] r169775 - /cfe/trunk/lib/Driver/Tools.cpp
Bill Wendling
isanbard at gmail.com
Mon Dec 10 13:48:41 PST 2012
Author: void
Date: Mon Dec 10 15:48:41 2012
New Revision: 169775
URL: http://llvm.org/viewvc/llvm-project?rev=169775&view=rev
Log:
Add support to Darwin for the -export_dynamic' flag to the linker.
Modified:
cfe/trunk/lib/Driver/Tools.cpp
Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=169775&r1=169774&r2=169775&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Mon Dec 10 15:48:41 2012
@@ -4115,6 +4115,9 @@
if (Args.hasArg(options::OPT_ObjC) || Args.hasArg(options::OPT_ObjCXX))
CmdArgs.push_back("-ObjC");
+ if (Args.hasArg(options::OPT_rdynamic))
+ CmdArgs.push_back("-export_dynamic");
+
CmdArgs.push_back("-o");
CmdArgs.push_back(Output.getFilename());
More information about the cfe-commits
mailing list