Page MenuHomePhabricator

[TSAN] Fix tsan on FreeBSD after D54889
ClosedPublic

Authored by arichardson on Aug 3 2019, 3:02 PM.

Details

Summary

It appears that since https://reviews.llvm.org/D54889, BackgroundThread()
crashes immediately because cur_thread()-> will return a null pointer
which is then dereferenced. I'm not sure why I only see this issue on
FreeBSD and not Linux since it should also be unintialized on other platforms.

Diff Detail

Repository
rL LLVM

Event Timeline

arichardson created this revision.Aug 3 2019, 3:02 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 3 2019, 3:02 PM
Herald added subscribers: llvm-commits, Restricted Project, krytarowski, kubamracek. · View Herald Transcript
yuri accepted this revision.Aug 3 2019, 10:57 PM
This revision is now accepted and ready to land.Aug 3 2019, 10:57 PM
This revision was automatically updated to reflect the committed changes.