[PATCH] D16823: [cfi] Safe handling of unaddressable vtable pointers (clang).

Evgeniy Stepanov via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 2 16:08:47 PST 2016


eugenis updated this revision to Diff 46718.
eugenis added a comment.

Moved bitset.text call outside.
LLVM is smart enough to sink it along the cold branch, so performance should not suffer.


Repository:
  rL LLVM

http://reviews.llvm.org/D16823

Files:
  lib/CodeGen/CGClass.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CodeGenModule.cpp
  test/CodeGen/cfi-check-fail.c
  test/CodeGenCXX/cfi-cast.cpp
  test/CodeGenCXX/cfi-vcall.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16823.46718.patch
Type: text/x-patch
Size: 13898 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160203/2754a07e/attachment-0001.bin>


More information about the cfe-commits mailing list