Skip to content

Commit ec6a6eb

Browse files
dcpleungkartben
authored andcommitted
x86: x86_64: ARCH_HAS_STACKWALK possible with optimization
Stack walking on x86_64 can run with compiler optimization and does not need CONFIG_NO_OPTIMIZATIONS as long as frame pointers are not omitted. So remove the "depends on" for x86_64 from CONFIG_ARCH_HAS_STACKWALK. Signed-off-by: Daniel Leung <[email protected]>
1 parent 74f3b7f commit ec6a6eb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/x86/core/Kconfig.intel64

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ config ARCH_HAS_STACKWALK
3535
select DEBUG_INFO
3636
select THREAD_STACK_INFO
3737
depends on !OMIT_FRAME_POINTER
38-
depends on NO_OPTIMIZATIONS
3938
help
4039
Internal config to indicate that the arch_stack_walk() API is implemented
4140
and it can be enabled.

0 commit comments

Comments
 (0)