This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Use internal_sigfillset to replace REAL(sigfillset).
ClosedPublic

Authored by yabinc on Dec 7 2015, 11:51 AM.

Diff Detail

Event Timeline

yabinc updated this revision to Diff 42088.Dec 7 2015, 11:51 AM
yabinc retitled this revision from to [tsan] Use internal_sigfillset to replace REAL(sigfillset)..
yabinc updated this object.
yabinc added a reviewer: kubamracek.
yabinc added a subscriber: llvm-commits.
kubamracek added inline comments.Dec 8 2015, 5:40 AM
lib/sanitizer_common/sanitizer_linux.cc
621–624 ↗(On Diff #42088)

Why do you need to move the implementation to sanitizer_posix.cc? internal_sigfillset is defined in both sanitizer_linux.cc and sanitizer_mac.cc already, so you shouldn't need to move it.

yabinc updated this revision to Diff 42351.Dec 9 2015, 3:45 PM

Update based on review comment.

yabinc added inline comments.Dec 9 2015, 3:47 PM
lib/sanitizer_common/sanitizer_linux.cc
621–624 ↗(On Diff #42088)

Sorry, I didn't notice the implementation in sanitizer_mac.cc.

dvyukov accepted this revision.Dec 10 2015, 5:47 AM
dvyukov edited edge metadata.
This revision is now accepted and ready to land.Dec 10 2015, 5:47 AM
yabinc closed this revision.Jan 14 2016, 7:03 PM