The actual bug seems to be: http://llvm.org/bugs/show_bug.cgi?id=15429 And this 2 are the patches: http://llvm.org/viewvc/llvm-project?view=revision&revision=181728 http://llvm.org/viewvc/llvm-project?view=revision&revision=181750 It doesn't look hard to backport. Cheers, Francisco Facioni