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

Tim Northover via cfe-dev cfe-dev at lists.llvm.org
Thu Apr 19 13:26:52 PDT 2018

On 19 April 2018 at 19:57, Friedman, Eli via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> Modifying the datalayout is not a good idea; it doesn't interact with LTO
> correctly, and the frontend and the backend generally need to agree on the
> datalayout.

Probably a fair point, though I think it has a subtle effect on how
the feature is documented. It becomes more about whether code in this
translation unit is permitted to access an object at 0 than whether
such an object exists.



More information about the cfe-dev mailing list