mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-05 22:38:44 +00:00
Removed debug symbols and fixed .section directive to be appropriate for mach-o
This commit is contained in:
parent
234c76963b
commit
05983251c1
2 changed files with 28 additions and 28 deletions
|
|
@ -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 () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue