This is an archive of the discontinued LLVM Phabricator instance.

asan: fix a windows test
ClosedPublic

Authored by dvyukov on Apr 30 2021, 7:45 AM.

Details

Summary

Before commit "sanitizer_common: introduce kInvalidTid/kMainTid"
asan invalid/unknown thread id was 0xffffff, so presumably we printed "T16777215".
Now it's -1, so we print T-1. Fix the test.
I think the new format is even better, "T-1" clearly looks like something special
rather than a random large number.

Diff Detail

Event Timeline

dvyukov requested review of this revision.Apr 30 2021, 7:45 AM
dvyukov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 30 2021, 7:45 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka accepted this revision.Apr 30 2021, 1:51 PM
This revision is now accepted and ready to land.Apr 30 2021, 1:51 PM
This revision was automatically updated to reflect the committed changes.