[libcxx-commits] [PATCH] D96946: [libcxx][RFC] Unspecified behavior randomization in libcxx

Fangrui Song via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Feb 4 20:37:04 PST 2022


MaskRay added a comment.

I wonder whether it is useful to allocate some probability to a deterministic reorder, e.g. reversed order (see D98445 <https://reviews.llvm.org/D98445> I added `ld.lld --shuffle-sections=-1`).



================
Comment at: libcxx/docs/DesignDocs/UnspecifiedBehaviorRandomization.rst:38
+
+* Introduce new macro `_LIBCPP_DEBUG_RANDOMIZE_UNSPECIFIED_STABILITY` which should
+  be a part of the libcxx config.
----------------
This and a few other works should use reST inline literals. Created D119052


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96946



More information about the libcxx-commits mailing list