rmaprath added a comment. I forgot to mention that we will need a similar (although much smaller) porting layer for `libcxxabi` and `libunwind`, as those too currently have a pthread dependency. http://reviews.llvm.org/D19415