[AVR] Add $ separator string (like avr-gcc)
authorAyke van Laethem <aykevanlaethem@gmail.com>
Wed, 23 Nov 2022 01:10:22 +0000 (02:10 +0100)
committerAyke van Laethem <aykevanlaethem@gmail.com>
Sun, 27 Nov 2022 14:28:17 +0000 (15:28 +0100)
commit3b2b83ce2f6bb32fc73dbd303c791cabf16c8218
treeeb30b1ce2774f8dafb62910d078b58df2042e719
parent131cddcba2c4c953a8a49d7adbf656cab9e9f1c7
[AVR] Add $ separator string (like avr-gcc)

avr-gcc uses the $ symbol as an assembly separator instead of the more
common %% syntax. We need it in LLVM too to be compatible.

Differential Revision: https://reviews.llvm.org/D138535
llvm/lib/Target/AVR/MCTargetDesc/AVRMCAsmInfo.cpp
llvm/test/MC/AVR/separator.s [new file with mode: 0644]