Oh, looks like I've never published the previous comment about __libc_memalign. Really sorry about that, this isn't your fault at all. http://llvm-reviews.chandlerc.com/D702