[libc-commits] [libc] [libc][stdlib] Only use freelist_malloc for baremetal targets. (PR #96355)

via libc-commits libc-commits at lists.llvm.org
Fri Jun 21 13:36:28 PDT 2024


lntue wrote:

> So, the problem I had was that the `freelist_heap_test` is triggered if you have `malloc` because the source just assumes that if you have `malloc` then it builds it. Can you also disable the test for now and in the future @PiJoules can move `freelist_heap` to an object library so we can check if it's built?

This PR changes `freelist_heap_test` to depend on `libc.src.stdlib.freelist_malloc` instead of `libc.src.stdlib.malloc`, which shouldn't be added for GPU.  Can you double check if that's what it is? @jhuber6 

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


More information about the libc-commits mailing list