[libcxx patch] Fix thread.thread.id/lt.pass.cpp to not assume thread::id() produces a minimal value

Albert Wong (王重傑) ajwong at google.com
Tue Dec 31 04:52:34 PST 2013

Hello Howard,

thread.thread.id/lt.pass.cpp failed on the android arm build because
pthread_t is signed meaning that thread::id() doesn't always produces the
minimal possible value in the range of ids.

I've updated the test to be more permissive of having an underlying value
that is signed. Let me know what you think.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131231/2d09d89c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thread_lt.patch
Type: application/octet-stream
Size: 1447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131231/2d09d89c/attachment.obj>

More information about the cfe-commits mailing list