[LLVMdev] -f[no-]omit-frame-pointer

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Tue Dec 27 13:30:37 PST 2011

> What would be the best fix for asan? 
> Force  -mdisable-fp-elim when asan is enabled or document that asan
> requires -fomit-frame-pointer for better warning messages? 

Just messages? I would suggest documentation.

If it is needed by some of the checks then enabling frame pointers by
default when asan is enabled and rejecting or warning when someone tries
to use both asan and -fomit-frame-pointer is probably better.

> Thanks! 
> --kcc 


More information about the llvm-dev mailing list