]> granicus.if.org Git - clang/commit
[Profile] Always build profile runtime library with -fPIC.
authorAlexey Samsonov <vonosmas@gmail.com>
Fri, 14 Nov 2014 00:16:26 +0000 (00:16 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Fri, 14 Nov 2014 00:16:26 +0000 (00:16 +0000)
commit975dfbe202fd3217ede25ef210938482b2faaeb2
tree6263c34adbf2fa9ff07b19c2ecbff77ba92e8323
parent79b4e894d617e265d80e36689f5da20bc7f1aabe
[Profile] Always build profile runtime library with -fPIC.

This change removes libclang_rt.profile-pic-<arch>.a version of
profile runtime. Instead, it's sufficient to always build
libclang_rt.profile-<arch>.a with -fPIC, as it can be linked into
both executables and shared objects.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221952 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/instrprof-ld.c