Page MenuHomePhabricator

[TSAN] Fix tsan on FreeBSD after D54889

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



It appears that since, 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


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.