https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61771
--- Comment #4 from Yury Gribov <y.gribov at samsung dot com> --- > It should be possible to detect fp layout on the frame basis - > there is a slot (don't know which one off the top of my head) > that is FP in one compiler and return address in the other. > Comparing its contents with the current stack limits > (readily available in ASan) should do the trick. Unless program uses nested functions (and so LR may point to trampoline which is located on stack). > Of course, it would be awesome if we could synchronize > (and document somewhere) FP stack layout between GCC and Clang Let me ping LLVM list for this.