[PATCH] D61665: [TailCall] Disable tail call if the callee function contain __builtin_frame_address or __builtin_return_address
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 8 02:09:09 PDT 2019
asb added a comment.
The description of the llvm.frameaddress and llvm.returnaddress intrinsics seems to indicate that these are "best effort" and LLVM doesn't really guarantee a correct result for a depth > 1 https://llvm.org/docs/LangRef.html#llvm-returnaddress-intrinsic https://llvm.org/docs/LangRef.html#llvm-returnaddress-intrinsic
Is there a particular use case that is improved by improving the quality of frameaddress/returnaddress results?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61665/new/
https://reviews.llvm.org/D61665
More information about the llvm-commits
mailing list