diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-28 17:53:22 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-28 17:53:22 +0000 |
| commit | 97140c9270fdadc8af2c6e0a8ff06f090ec7eaa7 (patch) | |
| tree | 6a288c7cb276c4761e61caa95dfbf6919dd2f550 /lib/Serialization/GlobalModuleIndex.cpp | |
| parent | d12127df41ba85d7bbf46219c8c0f665d7a12ace (diff) | |
| download | clang-97140c9270fdadc8af2c6e0a8ff06f090ec7eaa7.tar.gz clang-97140c9270fdadc8af2c6e0a8ff06f090ec7eaa7.tar.bz2 clang-97140c9270fdadc8af2c6e0a8ff06f090ec7eaa7.tar.xz | |
InstrProf: Emit runtime hook directly in IRGen
-u behaviour is apparently not portable between linkers (see cfe-commits
discussions for r204379 and r205012). I've moved the logic to IRGen,
where it should have been in the first place.
I don't have a Linux system to test this on, so it's possible this logic
*still* doesn't pull in the instrumented profiling runtime on Linux.
I'm in the process of getting tests going on the compiler-rt side
(llvm-commits "[PATCH] InstrProf: Add initial compiler-rt test"). Once
we have tests for the full flow there, the runtime logic should get a
whole lot less brittle.
<rdar://problem/16458307>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/GlobalModuleIndex.cpp')
0 files changed, 0 insertions, 0 deletions
