aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-05-12 01:04:33 +0000
committerJustin Bogner <mail@justinbogner.com>2015-05-12 01:04:33 +0000
commit7b6c0e02acd94ece5b3d6674a1c397adf7f9d7b3 (patch)
treea88e38bcaf5ff493559ec35c703b8c7c6cfe6875 /clang/lib/Driver/Tools.cpp
parent19e300fbde5f1eeeb97b7f60f55c627786a41166 (diff)
downloadllvm-7b6c0e02acd94ece5b3d6674a1c397adf7f9d7b3.zip
llvm-7b6c0e02acd94ece5b3d6674a1c397adf7f9d7b3.tar.gz
llvm-7b6c0e02acd94ece5b3d6674a1c397adf7f9d7b3.tar.bz2
Revert "Driver: Make profiling flags work with -nostdlib on Darwin"
This revert r237074. These tests are failing all over the place. llvm-svn: 237077
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r--clang/lib/Driver/Tools.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index c1b5158..e215b6e 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -6328,11 +6328,6 @@ void darwin::Link::ConstructJob(Compilation &C, const JobAction &JA,
if (Args.hasArg(options::OPT_fnested_functions))
CmdArgs.push_back("-allow_stack_execute");
- // TODO: It would be nice to use addProfileRT() here, but darwin's compiler-rt
- // paths are different enough from other toolchains that this needs a fair
- // amount of refactoring done first.
- getMachOToolChain().addProfileRTLibs(Args, CmdArgs);
-
if (!Args.hasArg(options::OPT_nostdlib) &&
!Args.hasArg(options::OPT_nodefaultlibs)) {
if (getToolChain().getDriver().CCCIsCXX())