[llvm] r260146 - [PGO] Differentiate Clang instrumentation and IR level instrumentation profiles

Tim Northover via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 8 14:49:23 PST 2016


Hi Rong,

This seems to have broken a test in compiler-rt on Darwin platforms
because we don't have COMDAT. See
http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA_check/10077/
for example.

I think you probably just want to make the variable linkonce (or
perhaps linkonce_odr) for us. Theoretically that could be removed as
unused, but ld64 doesn't seem to without special options and I don't
think there's a better lowering.

Cheers.

Tim.


More information about the llvm-commits mailing list