[PATCH] D61867: [GWP-ASan] Initial build files, implementation of PRNG [1].

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 13 11:31:52 PDT 2019


eugenis added inline comments.


================
Comment at: compiler-rt/lib/gwp_asan/random.cpp:29
+
+static thread_local uint64_t RandomStateB = xorShiftStar64();
+
----------------
I thought we switched to __thread?
Does the generated code become more compact if these two are combined in a single thread-local aggregate?



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D61867





More information about the llvm-commits mailing list