[cfe-commits] r147552 - /cfe/trunk/lib/Driver/Tools.cpp
Daniel Dunbar
daniel at zuster.org
Wed Jan 4 13:45:27 PST 2012
Author: ddunbar
Date: Wed Jan 4 15:45:27 2012
New Revision: 147552
URL: http://llvm.org/viewvc/llvm-project?rev=147552&view=rev
Log:
Driver/Darwin: Remove a hack that avoided passing -demangle to iOS linkers.
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=147552&r1=147551&r2=147552&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Wed Jan 4 15:45:27 2012
@@ -3635,13 +3635,7 @@
// Newer linkers support -demangle, pass it if supported and not disabled by
// the user.
- //
- // FIXME: We temporarily avoid passing -demangle to any iOS linker, because
- // unfortunately we can't be guaranteed that the linker version used there
- // will match the linker version detected at configure time. We need the
- // universal driver.
- if (Version[0] >= 100 && !Args.hasArg(options::OPT_Z_Xlinker__no_demangle) &&
- !DarwinTC.isTargetIPhoneOS()) {
+ if (Version[0] >= 100 && !Args.hasArg(options::OPT_Z_Xlinker__no_demangle)) {
// Don't pass -demangle to ld_classic.
//
// FIXME: This is a temporary workaround, ld should be handling this.
More information about the cfe-commits
mailing list