mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09:00
Meta: Add -fno-omit-frame-pointer
flag
We currently only use frame pointer-based backtrace generation.
This option is necessary for RISC-V as otherwise the compiler doesn't
save `fp` most of the time.
I made this flag not riscv64 exclusive, as we should do everything
to make that kind of backtrace generation work.
(1148020960
)
This commit is contained in:
parent
b52cbf673d
commit
d6906736cc
Notes:
sideshowbarker
2024-07-16 23:52:22 +09:00
Author: https://github.com/spholz
Commit: d6906736cc
Pull-request: https://github.com/SerenityOS/serenity/pull/20942
Reviewed-by: https://github.com/BertalanD ✅
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
include(${CMAKE_CURRENT_LIST_DIR}/common_compile_options.cmake)
|
||||
|
||||
# The following warnings are sorted by the "base" name (the part excluding the initial Wno or W).
|
||||
# The following options are sorted by the "base" name (the part excluding the initial Wno/fno or W/f).
|
||||
|
||||
add_compile_options(-Wno-address-of-packed-member)
|
||||
add_compile_options(-Wcast-qual)
|
||||
add_compile_options(-Wdeprecated-copy)
|
||||
|
@ -18,6 +19,7 @@ add_compile_options(-Wwrite-strings)
|
|||
|
||||
add_compile_options(-fno-delete-null-pointer-checks)
|
||||
add_compile_options(-ffile-prefix-map=${SerenityOS_SOURCE_DIR}=.)
|
||||
add_compile_options(-fno-omit-frame-pointer)
|
||||
add_compile_options(-fsized-deallocation)
|
||||
add_compile_options(-fstack-clash-protection)
|
||||
add_compile_options(-fstack-protector-strong)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue