[PATCH] D141727: [profile][test][NFC] Simplify test code for prof_avoid_relocs

Paul Kirth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 14:10:29 PST 2023


paulkirth added inline comments.


================
Comment at: llvm/test/Transforms/PGOProfile/prof_avoid_relocs.ll:10-13
+; CHECK: @__profd_weak = private global {{.*}} ptr @weak.local
+; CHECK: @__profd_linkonce = private global {{.*}} ptr @linkonce.local
+; CHECK: @__profd_weakodr = private global {{.*}} ptr @weakodr.local
+; CHECK: @__profd_linkonceodr = private global {{.*}} ptr @linkonceodr.local
----------------
I went back and forth on whether we need the checks on __profc* at all, and if we still want to try to match on the section. I //think// we should still be ok without them, but I'm not 100%. I don't think we can go smaller than this.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141727/new/

https://reviews.llvm.org/D141727



More information about the llvm-commits mailing list