]> granicus.if.org Git - clang/commit
InstrProf: Look for the PIC-version of the profile runtime
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 16 May 2014 04:09:41 +0000 (04:09 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 16 May 2014 04:09:41 +0000 (04:09 +0000)
commit5b07cece1b66eeb500a0ea492605114ed687d498
tree7ad728a217e82bd3f61e1a646c640ea8a2a0f6b3
parent4a449d09baa6d0eeb8db4fbd1d63ea8bfd1e9dda
InstrProf: Look for the PIC-version of the profile runtime

If `-shared` is specified, pull in a PIC-version of the profile runtime,
which was added to compiler-rt in r208947.  I'm hoping this will get the
bots on my side.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208948 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/instrprof-ld.c [new file with mode: 0644]