[MSAN] Fix test SmallPreAllocatedStackThread for MIPS
authorSagar Thakur <sagar.thakur@imgtec.com>
Fri, 26 Feb 2016 05:56:54 +0000 (05:56 +0000)
committerSagar Thakur <sagar.thakur@imgtec.com>
Fri, 26 Feb 2016 05:56:54 +0000 (05:56 +0000)
commit63cecb3653ca7b6edad6d6a56844b53cce9d24d5
treeba2a792f8deea70e8cf2d52a47fc76de968ca494
parent4d187630def2c6afc154fec2514ed0101c87e20d
[MSAN] Fix test SmallPreAllocatedStackThread for MIPS

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.

Reviewers: eugenis, samsonov
Subscribers: llvm-commits, mohit.bhakkad, jaydeep
Differential: http://reviews.llvm.org/D17603
llvm-svn: 261980
compiler-rt/lib/msan/msan_interceptors.cc