build: Add -mno-omit-leaf-frame-pointer to sanitizer CFLAGS
According to the GCC manual on -fno-omit-frame-pointer: > Note that -fno-omit-frame-pointer doesn't guarantee the frame pointer > is used in all functions. Several targets always omit the frame > pointer in leaf functions. And what is says about -m[no-]omit-leaf-frame-pointer: > -momit-leaf-frame-pointer > -mno-omit-leaf-frame-pointer > > Omit or keep the frame pointer in leaf functions. The former behavior > is the default. So we should probably prevent both.
Showing
Please register or sign in to comment