[all-commits] [llvm/llvm-project] 6f1a9e: [LIBC] Fix incorrect behavior with pthread_key_t w...
goldsteinn via All-commits
all-commits at lists.llvm.org
Wed Apr 19 17:55:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f1a9ed072de612584a90adf3469744781da17fc
https://github.com/llvm/llvm-project/commit/6f1a9ed072de612584a90adf3469744781da17fc
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2023-04-19 (Wed, 19 Apr 2023)
Changed paths:
M libc/src/__support/threads/thread.cpp
M libc/test/integration/src/pthread/pthread_tss_test.cpp
Log Message:
-----------
[LIBC] Fix incorrect behavior with pthread_key_t when value was nullptr
We should not call destructor if value is nullptr.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D148291
More information about the All-commits
mailing list