[PATCH] D98325: [InstrProfiling] Don't generate __llvm_profile_runtime_user

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 12 18:25:52 PST 2021


phosek added a comment.

In D98325#2623886 <https://reviews.llvm.org/D98325#2623886>, @MaskRay wrote:

> On Linux, the clang driver passes `-u__llvm_profile_runtime` to the linker: `Linux::addProfileRTLibs`. Can Mach-O do something similar?  The clang driver already does special things with `___llvm_profile_filename` and `___llvm_profile_raw_version`.

We're actually trying to move away from that model and define `__llvm_profile_runtime` as needed in the backend, see D98061 <https://reviews.llvm.org/D98061>.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98325



More information about the llvm-commits mailing list