Skip to content

Commit f5f2d77

Browse files
committed
dlmalloc: add a comment
1 parent 2f59c61 commit f5f2d77

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dlmalloc/src/malloc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5233,6 +5233,8 @@ static void try_init_allocator(void) {
52335233
// This can happen when 1. you are using an old wasm-ld which doesn't
52345234
// provide `__heap_end` and 2. something (other libraries or maybe
52355235
// your app?) provide a weak reference to `__heap_end`.
5236+
//
5237+
// Note: This is a linker bug: https://github.com/llvm/llvm-project/issues/60829
52365238
return;
52375239
}
52385240
size_t initial_heap_size = end - base;

0 commit comments

Comments
 (0)