[PATCH] D22855: [ARM] Pass thumb as architecture to the underlying tools, when targeting windows

Martin Storsjö via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 27 06:07:40 PDT 2016


mstorsjo added inline comments.

================
Comment at: test/Driver/thumb-attributes.s:1
@@ +1,2 @@
+@ RUN: %clang -target armv7-windows-itanium -c -o - %s \
+@ RUN:   | llvm-readobj -s - | FileCheck %s
----------------
rengolin wrote:
> But we don't usually do asm tests in Clang. I can add this test to LLVM's MC dir.
Do tests there also use the clang frontend driver? If you change it to test with llvm-mc with a thumb triplet, you won't actually test anything of this.

(Also, as long as this test uses clang, should it perhaps need a "// REQUIRES: arm-registered-target" at the start? I had that included in the other clang test, which was based on other old tests, while this one was changed from llvm-mc to clang.)


https://reviews.llvm.org/D22855





More information about the cfe-commits mailing list