search for: pr23277

Displaying 3 results from an estimated 3 matches for "pr23277".

Did you mean: 23277
2016 Dec 21
2
RFC: Allowing @llvm.objectsize to be more conservative with null.
tl;dr: We'd like to add a bit to @llvm.objectsize to make it optionally be conservative when it's handed a null pointer. Happy Wednesday! We're trying to fix PR23277, which is a bug about how clang+LLVM treat __builtin_object_size when it's given a null pointer. For compatibility with GCC, clang would like to be able to hand back a conservative result (e.g. (size_t)-1), but the LLVM intrinsic that clang lowers __builtin_object_size(p, N) to, @llvm.objectsiz...
2017 Jan 02
2
RFC: Allowing @llvm.objectsize to be more conservative with null.
...orge Burgess IV > <george.burgess.iv at gmail.com> wrote: >> >> tl;dr: We'd like to add a bit to @llvm.objectsize to make it optionally be >> conservative when it's handed a null pointer. >> >> Happy Wednesday! >> >> We're trying to fix PR23277, which is a bug about how clang+LLVM treat >> __builtin_object_size when it's given a null pointer. For compatibility with >> GCC, clang would like to be able to hand back a conservative result (e.g. >> (size_t)-1), but the LLVM intrinsic that clang lowers >> __builtin_o...
2017 Jan 02
2
RFC: Allowing @llvm.objectsize to be more conservative with null.
...gt; >> >> tl;dr: We'd like to add a bit to @llvm.objectsize to make it optionally >> >> be >> >> conservative when it's handed a null pointer. >> >> >> >> Happy Wednesday! >> >> >> >> We're trying to fix PR23277, which is a bug about how clang+LLVM treat >> >> __builtin_object_size when it's given a null pointer. For compatibility >> >> with >> >> GCC, clang would like to be able to hand back a conservative result >> >> (e.g. >> >> (size_t)-1)...