[builtins] Use %% as the separator for aarch64-*-darwin and ; for powerpc{32,64}
authorFangrui Song <i@maskray.me>
Wed, 16 Dec 2020 08:13:22 +0000 (00:13 -0800)
committerFangrui Song <i@maskray.me>
Wed, 16 Dec 2020 08:13:22 +0000 (00:13 -0800)
commit039cb03dd0dcff4daa17a062f7414ac22bf5f2eb
treed5f74f6cbaae7df077996c3f8d28949cd85443df
parent0524da67b448dcce6569fae0f54c10f208c2dc56
[builtins] Use %% as the separator for aarch64-*-darwin and ; for powerpc{32,64}

`;` is the default comment marker, which is also used by powerpc*-*-elf target triples.
`@` is the comment marker of powerpc*-*-darwin but the Darwin support has been deleted for PowerPC (D72063).
`%%` is the statement separator used by aarch64-*-darwin (see AArch64MCAsmInfoDarwin, it uses `;` as the comment marker, which is different from most other targets)

Reviewed By: tambre

Differential Revision: https://reviews.llvm.org/D93378
compiler-rt/lib/builtins/assembly.h