[PATCH] D156569: [InstrProf] Encode linkage names in IRPGO counter names

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 10:55:57 PDT 2023


MaskRay added inline comments.


================
Comment at: llvm/lib/ProfileData/InstrProf.cpp:289
+// which commonly have :'s in their names. Also, since <function-name> is not
+// mangled, they cannot be passed to the linker via -symbol-ordering-file or
+// -order_file. We still need to compute this name to lookup functions from
----------------
Mach-O linker

ELF linkers use different option names and don't have the mangling issue.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156569



More information about the llvm-commits mailing list