Page MenuHomePhabricator

tsan: fix android build
AbandonedPublic

Authored by dvyukov on Apr 30 2021, 9:18 AM.

Details

Reviewers
vitalybuka
Summary

Builders reported build breakage after commit
"sanitizer_common: introduce kInvalidTid/kMainTid":

tsan_platform_linux.cpp:500:10: error: const_cast from

'const __sanitizer::u32 *' (aka 'const unsigned int *')
to 'int *' is not allowed

https://lab.llvm.org/buildbot#builders/77/builds/5984

Fix tid type and const.

Diff Detail

Event Timeline

dvyukov created this revision.Apr 30 2021, 9:18 AM
dvyukov requested review of this revision.Apr 30 2021, 9:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 30 2021, 9:18 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka requested changes to this revision.Apr 30 2021, 1:54 PM

Didn't noticed review and fixed this cbd5aceb6296956387157fea9b13f49c932b8813 already.
It's OK to land fixes like this without review.

This revision now requires changes to proceed.Apr 30 2021, 1:54 PM
dvyukov abandoned this revision.Apr 30 2021, 10:42 PM