diff options
author | Justin Bogner <mail@justinbogner.com> | 2015-05-12 00:31:33 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2015-05-12 00:31:33 +0000 |
commit | f44ddae71e6464851dbafba0e40c66f9db9db4cf (patch) | |
tree | 43663af11218265bdf36b066009856dc31ea2de0 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | |
parent | 18bbe191cdfe1b1bb64fc0d80ee5113f9cd56e4d (diff) | |
download | bcm5719-llvm-f44ddae71e6464851dbafba0e40c66f9db9db4cf.tar.gz bcm5719-llvm-f44ddae71e6464851dbafba0e40c66f9db9db4cf.zip |
Driver: Make profiling flags work with -nostdlib on Darwin
Compiler-rt's Profiling library isn't part of the stdlib, so -nostdlib
shouldn't prevent it from being linked. This makes Darwin behave like
other toolchains, and link in the profile runtime irrespective of
-nostdlib, since the resulting program can't be run unless you link
this.
I've also added a test to show that other toolchains already behave
like this.
llvm-svn: 237074
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp')
0 files changed, 0 insertions, 0 deletions