[llvm-dev] Generating frame layout information w/o frame pointer

Rob Lyerly via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 28 10:55:16 PST 2016


Hi all,

Is there a way to control how clang/LLVM outputs DWARF call frame
information?  In particular, is there a way to specify that the calculation
of the the canonical frame address (CFA) should always use the stack
pointer instead of the frame pointer?  Specifying "-fomit-frame-pointer"
seems to force this behavior on x86-64, but it doesn't have the same effect
for AArch64 (in fact, it looks like this optimization is not fully
implemented on AArch64).

-- 
Rob Lyerly
Graduate Research Assistant, Systems Software Research Group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160128/a53bcbbc/attachment.html>


More information about the llvm-dev mailing list