[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:23:23 PST 2016
eugenis added inline comments.
================
Comment at: lib/CodeGen/CodeGenModule.cpp:4053
@@ +4052,3 @@
+
+ if (!CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFIVCall) ||
+ !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFINVCall) ||
----------------
I don't like emitting all these bitset entries if they are not needed.
Fixed.
Repository:
rL LLVM
http://reviews.llvm.org/D16823
More information about the cfe-commits
mailing list