diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-20 22:50:08 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-20 22:50:08 +0000 |
commit | 7c41451bc935043f75157ec8aacc0fa423793faf (patch) | |
tree | 6b42a3a635e3e2564f4939f112da4e75171b685b /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 73f78627401201983e8110577290eeee9ae0cd6e (diff) | |
download | bcm5719-llvm-7c41451bc935043f75157ec8aacc0fa423793faf.tar.gz bcm5719-llvm-7c41451bc935043f75157ec8aacc0fa423793faf.zip |
PGO: Don't define instrumentation data available_externally
Variables with available_externally linkage can be dropped at will.
This causes link errors, since there are still references to the
instrumentation! linkonce_odr is almost equivalent, so use that
instead.
As a drive-by fix (I don't have an Elf system, so I'm not sure how to
write a testcase), use linkonce linkage for the instrumentation of
extern_weak functions.
<rdar://problem/15943240>
llvm-svn: 204408
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions