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 | ecb41cbcd6ed2dbabc72a583cced90a863ee1672 (patch) | |
tree | 0bdc1872d0aaea2279094ce81597f12801db82ea /clang/lib/Driver/Tools.cpp | |
parent | 3441d5ae34aa4257c188c98bfce63d0c947e1296 (diff) | |
download | bcm5719-llvm-ecb41cbcd6ed2dbabc72a583cced90a863ee1672.tar.gz bcm5719-llvm-ecb41cbcd6ed2dbabc72a583cced90a863ee1672.zip |
Driver/Darwin: Remove a hack that avoided passing -demangle to iOS linkers.
llvm-svn: 147552
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index 64235cb81c9..e69e2cb9247 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/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. |