Update sem_init_glibc.cpp to apply the "newer" GET_SEM_VALUE(v) logic
to i386 if glibc is 2.36 or newer. With this glibc version, the old
macro returns "84" instead of "42".
Fixes #58079
Differential D135018
[compiler-rt] [test] Fix sem_init_glibc.cpp test for glibc 2.36 on i386 mgorny on Oct 1 2022, 1:20 PM. Authored by
Details
Update sem_init_glibc.cpp to apply the "newer" GET_SEM_VALUE(v) logic Fixes #58079
Diff Detail Event Timeline |