summaryrefslogtreecommitdiff
path: root/test/cfi/two-vcalls.cpp
AgeCommit message (Collapse)Author
2017-10-02Use %run for running CFI testsFilipe Cabecinhas
Reviewers: pcc, krasin, eugenis Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D38412 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@314659 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-05CFI: add XFAIL test for a future optimization of two vcalls.Ivan Krasin
Summary: Often, a code will call multiple virtual methods of a given object. If they go in a linear block, it should be possible to check vtable before the first call, then store vtable pointer and reuse it for the second vcall without any additional checks. This is expected to have a positive performance impact on a hot path in Blink, see https://crbug.com/634139. Reviewers: kcc Differential Revision: https://reviews.llvm.org/D23151 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@277795 91177308-0d34-0410-b5e6-96231b3b80d8