[libc-commits] [libc] [libc] [search] improve hsearch robustness (PR #73896)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Thu Nov 30 08:44:16 PST 2023


================
@@ -14,6 +14,12 @@
 
 namespace LIBC_NAMESPACE {
 LLVM_LIBC_FUNCTION(int, hcreate, (size_t capacity)) {
+  // We follow FreeBSD's implementation here. If the global_hash_table is
----------------
SchrodingerZhu wrote:

Added

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


More information about the libc-commits mailing list