[PATCH] D14121: Thumb state not being passed through to LLVM triple when using clang -cc1as

Tim Northover via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 27 10:50:00 PDT 2015

t.p.northover added a comment.

If you're on Linux or something you need "clang -target x86_64-apple-darwin -arch armv7 -c tmp.s". Another mess I keep meaning to fix.

I suspect the reason for this hack is that we've already changed the triple to "thumbv7-apple-iosN" by this point (because -arch armv7 compiles to Thumb), so it needs undoing for .s files. It might be reasonably easy to push the TY_PP_Asm check back into the Darwin codepath, or it might be horrible. So much has changed since 2011.


More information about the cfe-commits mailing list