[compiler-rt] [compiler-rt] Do not assume pthread_key_t to be a scalar type. (PR #70786)
A. Jiang via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 31 04:49:16 PDT 2023
================
@@ -72,7 +72,7 @@ Error runInitArray(const std::vector<ExecutorAddrRange> &InitArraySections,
}
struct TLSInfoEntry {
- unsigned long Key = 0;
+ pthread_key_t Key = { 0 };
----------------
frederick-vs-ja wrote:
```suggestion
pthread_key_t Key = {};
```
https://github.com/llvm/llvm-project/pull/70786
More information about the llvm-commits
mailing list