[PATCH] D47895: llvm: Add support for "-fno-delete-null-pointer-checks"
George Burgess IV via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 3 11:28:42 PDT 2018
george.burgess.iv added a comment.
What Eli said :)
This can probably be fixed by setting NullIsUnknownSize <http://llvm.org/doxygen/structllvm_1_1ObjectSizeOpts.html> appropriately in callers of `llvm::getObjectSize`.
(We'll likely also want to ensure that the objectsize sanitizer in clang sets the nullunknown bit when it lowers to calls of `@llvm.objectsize` if clang's been handed this flag, but that's a different patch)
Repository:
rL LLVM
https://reviews.llvm.org/D47895
More information about the llvm-commits
mailing list