Remove some unrelated directives that can't be assembled for COFF from the existing jump table test and rerun that test for windows as well.
Details
Diff Detail
Event Timeline
lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp | ||
---|---|---|
108 | In my case, it is to make it possible to assemble existing handwritten aarch64 gas assembly (that currently targets linux and darwin) for windows as well. For armv7, we already have the same situation where linux/darwin gas assembly also can be built for windows, but only while using the armv7-windows-gnu target, not the armv7-windows-msvc target. If you'd prefer that, I could try to make that distinction here as well, and only match the gas behaviour in the -gnu variant. | |
test/MC/AArch64/jump-table.s | ||
2 | It's intentional in the sense that I wanted to test that .align 3 is interpreted as 8 byte alignment; prior to the code change this fails to assemble since 3 bytes isn't a valid alignment. |
test/MC/COFF/aarch64-align.s | ||
---|---|---|
1 ↗ | (On Diff #107165) | Test needs to be in a directory which allows AArch64 tests (probably test/MC/AArch64/). lit.local.cfg for test/MC/COFF/ requires the x86 backend. |
Is there any particular reason to choose one way or the other here?