aaron.ballman added a comment.

In D142388#4412521 <https://reviews.llvm.org/D142388#4412521>, @rsmith wrote:

> I have a concern with the name of this builtin. People are going to assume it 
> produces a nondeterministic value, and use it for seeding random number 
> generators and similar, and will be surprised when the value produced is 
> actually deterministic, and, worse, might leak information on the stack that 
> was left behind by some previous function call. Can we give this a name that 
> doesn't suggest that it produces its value nondeterministically?

That's a fair point; do you have a suggestion for a name? (I had suggested 
`__builtin_unspecified_value()` but perhaps that is too focused on the term of 
art.)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142388/new/

https://reviews.llvm.org/D142388

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to