This is an archive of the discontinued LLVM Phabricator instance.

[MSAN] Fix test SmallPreAllocatedStackThread for MIPS
ClosedPublic

Authored by slthakur on Feb 25 2016, 4:56 AM.

Details

Reviewers
samsonov
eugenis
Summary

Msan was intercepting version 2.1 of the pthread_create function which was making it to crash in libc because __pthread_create_2_1 modifies the stack attributes of the thread. Intercepting the correct version fixes the test SmallPreAllocatedStackThread.

Diff Detail

Repository
rL LLVM

Event Timeline

slthakur updated this revision to Diff 49041.Feb 25 2016, 4:56 AM
slthakur retitled this revision from to [MSAN] Fix test SmallPreAllocatedStackThread for MIPS.
slthakur updated this object.
slthakur added reviewers: eugenis, sam.saariste.
slthakur set the repository for this revision to rL LLVM.
slthakur edited reviewers, added: samsonov; removed: sam.saariste.Feb 25 2016, 12:12 PM
samsonov accepted this revision.Feb 25 2016, 12:17 PM
samsonov edited edge metadata.

LGTM

This revision is now accepted and ready to land.Feb 25 2016, 12:17 PM
slthakur closed this revision.Feb 25 2016, 10:01 PM

Committed in revision 261980