search for: nullpointervalid

Displaying 2 results from an estimated 2 matches for "nullpointervalid".

2018 Apr 19
0
[cfe-dev] RFC: Implementing -fno-delete-null-pointer-checks in clang
...e it will avoid creating a new llvm optimization flag and is auto embedded in IR. Given that, how do we want to proceed, do we want to add yet another field to the DataLayout string? e.g. 1. Add to already overloaded pointer types? e.g. p[n]:<size>:<abi>:<pref>:<idx>: *<NullPointerValid ? 1 : 0>* 2. (My preference) Or create another unique field identifier: e.g. np[n]: <NullPointerValid ? 1 : 0> Thanks, Manoj -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180419/016326de/attachmen...
2018 Apr 18
2
[cfe-dev] RFC: Implementing -fno-delete-null-pointer-checks in clang
I'm working with an embedded architecture that could, in some situations, run faster if code or data could be located at address zero. I don't know whether this applies to other embedded chips. Despite the name, the flag actually has rather straightforward semantics > from the compiler's perspective. From the gcc docs for > -fdelete-null-pointer-checks: "Assume that