[cfe-commits] r104205 - /cfe/trunk/lib/Driver/Tools.cpp
Ted Kremenek
kremenek at apple.com
Wed May 19 19:12:37 PDT 2010
Author: kremenek
Date: Wed May 19 21:12:37 2010
New Revision: 104205
URL: http://llvm.org/viewvc/llvm-project?rev=104205&view=rev
Log:
Expose -fobjc-nonfragile-abi2 as a top-level clang driver option. Fixes <rdar://problem/8007063>.
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=104205&r1=104204&r2=104205&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Wed May 19 21:12:37 2010
@@ -1280,6 +1280,11 @@
CmdArgs.push_back("-fobjc-dispatch-method=non-legacy");
}
}
+
+ // FIXME: -fobjc-nonfragile-abi2 is a transient option meant to expose
+ // features in testing. It will eventually be removed.
+ if (Args.hasArg(options::OPT_fobjc_nonfragile_abi2))
+ CmdArgs.push_back("-fobjc-nonfragile-abi2");
}
if (!Args.hasFlag(options::OPT_fassume_sane_operator_new,
More information about the cfe-commits
mailing list