On RH66, timespec_get is not available. Use clock_gettime instead.
This problem was introduced with D87120
Differential D91687
[compiler-rt santizer] Use clock_gettime instead of timespec_get jeroen.dobbelaere on Nov 18 2020, 12:32 AM. Authored by
Details On RH66, timespec_get is not available. Use clock_gettime instead. This problem was introduced with D87120
Diff Detail Event Timeline
Comment Actions I'm having some new issues committing at the moment that I can't figure out (just emailed llvm-dev). @vitalybuka can you commit this? Comment Actions
Maybe they are caused by the change in the branch names ('master' -> 'main') ? Comment Actions Yep, just figured that out after I sent the llvm-dev email. I can push now. I'll push your change in a little bit. |
maybe we can keep only clock_gettime(CLOCK_REALTIME, &ts); ?