Skip to content

Commit 3b19e78

Browse files
authored
[libc] Keep framepointers for baremetal (#121836)
Keep framepointers enabled by default for the default baremetal libc builds. 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 75325c6 commit 3b19e78

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)