[compiler-rt] [sanitizer] Remove GetCurrentThread nullness checks from Allocate (PR #102828)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 11 16:02:15 PDT 2024


vitalybuka wrote:

> The `*Allocate` functions must be called after `*_current_thread` is set. Delete the nullness checks.

With static runtime.

With dynamic runtime, with late activation, it's not guaranteed, I guess?

https://github.com/llvm/llvm-project/pull/102828


More information about the llvm-commits mailing list