[PATCH] D12547: Add support for function attribute "disable_tail_calls"
Akira Hatanaka via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 11 09:03:04 PST 2015
ahatanak added a comment.
Marking virtual functions as disable_tail_calls is fine since disable_tail_calls affects the call sites inside the body of the marked function. In your example, it prevents tail call optimization on call sites inside B::g, but doesn't affect call sites in D::g.
http://reviews.llvm.org/D12547
More information about the cfe-commits
mailing list