arphaman added a comment.
It looks like if we have a function without the `return` (like the sample
below), we will pass in a `0` as the location pointer. This will prevent a
report of a runtime error as your compiler-rt change ignores the location
pointers that are `nil`. Is this a bug or is this the intended behaviour?
int *_Nonnull nonnull_retval1(int *p) {
}
https://reviews.llvm.org/D34299
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits