[AArch64] Use '//' as comment string for MSVC assembly
authorMartin Storsjö <martin@martin.st>
Mon, 8 Feb 2021 13:24:42 +0000 (15:24 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 8 Feb 2021 20:30:14 +0000 (22:30 +0200)
commit71c29b4cf3fb2b5610991bfbc12b8bda97d60005
tree9c89faae3d4dcc5e7a561903bf15834e8e770c1c
parent6d766c8bf9df3c22590a78c77879080736ad55ae
[AArch64] Use '//' as comment string for MSVC assembly

As the actual MSVC toolset doesn't use the GAS-style assembly that
Clang/LLVM produces and consumes, there's no reference for what
string to use for e.g. comments when building with a MSVC triple.

This frees up the use of semicolon as separator string, just like
was done for GNU targets in 23413195649d0cf6f3860ae8b5fb115b35032075.
(Previously, both the separator and comment strings were set to
the same, a semicolon.)

Compiler-rt extensively uses separator chars in its assembly,
and that assembly should be buildable with clang-cl for MSVC too.

Differential Revision: https://reviews.llvm.org/D96259
llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
llvm/test/CodeGen/AArch64/cfguard-checks.ll
llvm/test/CodeGen/AArch64/landingpad-ifcvt.ll
llvm/test/CodeGen/AArch64/reloc-specifiers.mir
llvm/test/CodeGen/AArch64/seh_funclet_x1.ll
llvm/test/CodeGen/AArch64/win64-no-uwtable.ll
llvm/test/CodeGen/AArch64/windows-extern-weak.ll
llvm/test/CodeGen/AArch64/wineh-try-catch-nobase.ll
llvm/test/CodeGen/AArch64/wineh-try-catch.ll
llvm/test/MC/AArch64/coff-relocations.s
llvm/test/MC/AArch64/coff-separator.s [moved from llvm/test/MC/AArch64/coff-gnu.s with 74% similarity]