[clang] [compiler-rt] [llvm] [openmp] [PGO][Offload] Profile profraw generation for GPU instrumentation #76587 (PR #93365)
David Tellenbach via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 20 09:30:01 PDT 2025
dtellenbach wrote:
@EthanLuisMcDonough I think your patch effectively introduces a dependency on libc because `__llvm_write_custom_profile` has `__attribute__((used))`` but calls e.g. `atoi` through `setupIOBuffer`.
In compiler-rt it's not safe to make that assumption because it potentially breaks embedded platforms. IMO it's also bad practice to force used symbols into a static archive. Would you please take another look and at least make the functionality dependent on offloading or something similar?
Thanks a lot!
https://github.com/llvm/llvm-project/pull/93365
More information about the llvm-commits
mailing list