• Dridi Boukelmoune's avatar
    build: Add -mno-omit-leaf-frame-pointer to sanitizer CFLAGS · 523f1929
    Dridi Boukelmoune authored
    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.
    523f1929
configure.ac 24.3 KB