[PATCH] D23349: [ELF] Support for --build-id=uuid

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 12 11:30:12 PDT 2016


ruiu added a comment.

I have a concern about using current time as a random source. Even with a nano second resolution timer (and I think timers are in reality not that accurate), there's a small chance for two machines to create two different executables at the same time. If that happens, the two files get the same build-id. That's a small probability but much larger than a collision in 2^128 space.


https://reviews.llvm.org/D23349





More information about the llvm-commits mailing list