Skip to content

Commit 44d4910

Browse files
committed
[libc] Keep framepointers for baremetal
Frame pointers help unwind the stack and unwinding without frame pointer is complex and increaseis the code size. This code size increase is potentially larger than the savings achieved by disabling frame pointers. Retaining the original behavior of retaining frame pointers as the default behavior.
1 parent 6869425 commit 44d4910

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

libc/config/baremetal/config.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,5 @@
3030
"LIBC_CONF_MATH_OPTIMIZATIONS": {
3131
"value": "(LIBC_MATH_SKIP_ACCURATE_PASS | LIBC_MATH_SMALL_TABLES)"
3232
}
33-
},
34-
"codegen": {
35-
"LIBC_CONF_KEEP_FRAME_POINTER": {
36-
"value": false
37-
}
3833
}
3934
}

0 commit comments

Comments
 (0)