This is an archive of the discontinued LLVM Phabricator instance.

[Asan] Fix the tsd_dtor_leak.cc test to pass on FreeBSD
ClosedPublic

Authored by kutuzov.viktor.84 on Dec 10 2014, 12:21 PM.

Details

Summary

On FreeBSD SYSCALL(sched_yielld) allocates some more space during the 2nd attempt.

Diff Detail

Repository
rL LLVM

Event Timeline

kutuzov.viktor.84 retitled this revision from to [Asan] Fix the tsd_dtor_leak.cc test to pass on FreeBSD.
kutuzov.viktor.84 updated this object.
kutuzov.viktor.84 edited the test plan for this revision. (Show Details)
kutuzov.viktor.84 added reviewers: kcc, samsonov.
kutuzov.viktor.84 added subscribers: Unknown Object (MLST), emaste.
samsonov accepted this revision.Dec 11 2014, 1:07 PM
samsonov edited edge metadata.

LGTM

test/asan/TestCases/Posix/tsd_dtor_leak.cc
38 ↗(On Diff #17119)

Please add a comment about why you need this on FreeBSD.

This revision is now accepted and ready to land.Dec 11 2014, 1:07 PM
This revision was automatically updated to reflect the committed changes.