[compiler-rt] [compiler-rt] [profile] Add value profile in profile data without-libc (PR #95639)

dong jianqiang via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 19:20:02 PDT 2024


dongjianqiang2 wrote:

>From the failed test case, I now understand why the value profile was not added previously. In the InstrProfilingBuffer.c file, the introduction of the lprofGetVPDataReader() function call brings in the usage of calloc, free, and getenv. These libc functions cause conflicts in a without-libc environment.

https://github.com/llvm/llvm-project/pull/95639


More information about the llvm-commits mailing list