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
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to