diff options
author | Daniel Dunbar <daniel@zuster.org> | 2012-01-04 21:45:27 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2012-01-04 21:45:27 +0000 |
commit | d2d2088c569a15c8ad75e70f995ff5a879f4fc49 (patch) | |
tree | cab47199cee8f0975dab22f57926b4187e3c5247 /lib/Driver/Tools.cpp | |
parent | bd507c5ef3cfe58aa2c0eca901fcd53b45c673a1 (diff) |
Driver/Darwin: Remove a hack that avoided passing -demangle to iOS linkers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147552 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 64235cb81c..e69e2cb924 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -3635,13 +3635,7 @@ void darwin::Link::AddLinkArgs(Compilation &C, // 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. |