[cfe-dev] [llvm-dev] RFC: Implementing -fno-delete-null-pointer-checks in clang

Chris Lattner via cfe-dev cfe-dev at lists.llvm.org
Sat Apr 21 14:19:07 PDT 2018



> On Apr 20, 2018, at 2:06 AM, Csaba Raduly via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> 
> On 4/20/18, James Y Knight wrote:
>> 
>> 
>> Yep. "-fnull-pointer-is-valid" has been suggested before.
>> 
> 
> -fplacate-linux-kernel-developers ?

Please, lets keep this discussion on topic and productive.  The semantics described upstream of (the inverse of) "Assume that programs cannot safely dereference null pointers, and that no code or data element resides at address zero.” is entirely reasonable.

-Chris




More information about the cfe-dev mailing list