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>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204408
91177308-0d34-0410-b5e6-
96231b3b80d8