forked from OSchip/llvm-project
CodeGen: use # as the comment leader for ARC marker
Use # as the comment leader for AArch64 auto-release elision marker. This is to keep it in sync with the value used in swift. When building libdispatch for Linux AArch64, the auto-release elision marker was emitted. However, ELF uses # as the comment leader while MachO accepts both ; and #. Use the common marker for it instead. llvm-svn: 294877
This commit is contained in:
parent
1c37e991e6
commit
40db4772bd
|
@ -4835,7 +4835,7 @@ public:
|
|||
: TargetCodeGenInfo(new AArch64ABIInfo(CGT, Kind)) {}
|
||||
|
||||
StringRef getARCRetainAutoreleasedReturnValueMarker() const override {
|
||||
return "mov\tfp, fp\t\t; marker for objc_retainAutoreleaseReturnValue";
|
||||
return "mov\tfp, fp\t\t# marker for objc_retainAutoreleaseReturnValue";
|
||||
}
|
||||
|
||||
int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const override {
|
||||
|
|
Loading…
Reference in New Issue