REQUIRES_FRAME_POINTER

Gaël Thomas gael.thomas00 at gmail.com
Mon Dec 23 11:56:09 PST 2013


Hi all,

I made a small patch to modify the file Makefile.rules when the flag
REQUIRES_FRAME_POINTER is used. In this case, I have added the
-fno-omit-frame-pointer flag to force the use of the frame pointer.
It's mandatory for vmkit, which supposes that all the frames are
"well" formed in the sense that they use frame pointers (we rely on
the frame pointers to inspect the stack during a collection). As the
flag already exists, I think that forcing frame pointers is exactly
what the user could expect, even when the code is optimized?

See you,
Gaël



-- 
-------------------------------------------------------------------
Gaël Thomas, Associate Professor, UPMC
http://pagesperso-systeme.lip6.fr/Gael.Thomas/
-------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: require-fp.patch
Type: application/octet-stream
Size: 751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131223/aaf17d4a/attachment.obj>


More information about the llvm-commits mailing list