Revert "Reland "[pgo] Avoid introducing relocations by using private alias""
authorPaul Kirth <paulkirth@google.com>
Fri, 9 Dec 2022 04:28:43 +0000 (04:28 +0000)
committerPaul Kirth <paulkirth@google.com>
Fri, 9 Dec 2022 04:33:09 +0000 (04:33 +0000)
commit7597beac9dd71c587c8611debc140a41139a1cfa
treedad1d8001a36655c13dad2dedf0cd9d9c90e6da3
parenta78d4b5ba716d88a90b905c261f53e74e67a7367
Revert "Reland "[pgo] Avoid introducing relocations by using private alias""

This reverts commit e89e8dcfad364d23515de25ac87d26dfe25badbb.

Some configurations still have references to discarded sections. I'm
reverting until these can be addressed.
compiler-rt/test/profile/Linux/instrprof-discarded-comdat.cpp [deleted file]
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
llvm/test/Transforms/PGOProfile/comdat.ll
llvm/test/Transforms/PGOProfile/prof_avoid_relocs.ll [deleted file]