File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -4560,10 +4560,12 @@ static void* tmalloc_small(mstate m, size_t nb) {
4560
4560
4561
4561
#if !ONLY_MSPACES
4562
4562
4563
+ #if 0 // Temporarily work around https://bugs.llvm.org/show_bug.cgi?id=43613
4563
4564
#if __wasilibc_unmodified_upstream // Forward declaration of try_init_allocator.
4564
4565
#else
4565
4566
static void try_init_allocator (void );
4566
4567
#endif
4568
+ #endif
4567
4569
4568
4570
void * dlmalloc (size_t bytes ) {
4569
4571
/*
@@ -4593,11 +4595,13 @@ void* dlmalloc(size_t bytes) {
4593
4595
ensure_initialization (); /* initialize in sys_alloc if not using locks */
4594
4596
#endif
4595
4597
4598
+ #if 0 // Temporarily work around https://bugs.llvm.org/show_bug.cgi?id=43613
4596
4599
#if __wasilibc_unmodified_upstream // Try to initialize the allocator.
4597
4600
#else
4598
4601
if (!is_initialized (gm )) {
4599
4602
try_init_allocator ();
4600
4603
}
4604
+ #endif
4601
4605
#endif
4602
4606
4603
4607
if (!PREACTION (gm )) {
@@ -5209,6 +5213,7 @@ static void internal_inspect_all(mstate m,
5209
5213
}
5210
5214
#endif /* MALLOC_INSPECT_ALL */
5211
5215
5216
+ #if 0 // Temporarily work around https://bugs.llvm.org/show_bug.cgi?id=43613
5212
5217
#ifdef __wasilibc_unmodified_upstream // Define a function that initializes the initial state of dlmalloc
5213
5218
#else
5214
5219
/* ------------------ Exported try_init_allocator -------------------- */
@@ -5244,6 +5249,7 @@ static void try_init_allocator(void) {
5244
5249
init_top (gm , (mchunkptr )base , initial_heap_size - TOP_FOOT_SIZE );
5245
5250
}
5246
5251
#endif
5252
+ #endif
5247
5253
5248
5254
/* ------------------ Exported realloc, memalign, etc -------------------- */
5249
5255
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ __floatsitf
10
10
__floatunsitf
11
11
__getf2
12
12
__gttf2
13
- __heap_base
14
13
__letf2
15
14
__lttf2
16
15
__netf2
You can’t perform that action at this time.
0 commit comments