Removed debug symbols and fixed .section directive to be appropriate for mach-o

This commit is contained in:
Egor Sheremetov 2024-04-17 04:20:27 +03:00 committed by Roman Venediktov
parent 234c76963b
commit 05983251c1
2 changed files with 28 additions and 28 deletions

View file

@ -291,10 +291,10 @@ void compact_phase (size_t additional_size) {
physically_relocate(&old_heap);
heap.current = heap.begin + live_size;
// if (munmap(old_heap.begin, old_heap.size) < 0) {
// perror("ERROR: compact_phase: munmap failed\n");
// exit(1);
// }
if (munmap(old_heap.begin, old_heap.size) < 0) {
perror("ERROR: compact_phase: munmap failed\n");
exit(1);
}
}
size_t compute_locations () {