git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200582
91177308-0d34-0410-b5e6-
96231b3b80d8
OutStreamer.SwitchSection(getObjFileLowering().getTextSection());
EmitFunctionBody();
- if (isVerbose() && OutStreamer.hasRawTextSupport()) {
+ if (isVerbose()) {
const MCSectionELF *CommentSection
= Context.getELFSection(".AMDGPU.csdata",
ELF::SHT_PROGBITS, 0,
false);
} else {
R600MachineFunctionInfo *MFI = MF.getInfo<R600MachineFunctionInfo>();
- OutStreamer.EmitRawText(
+ OutStreamer.emitRawComment(
Twine("SQ_PGM_RESOURCES:STACK_SIZE = " + Twine(MFI->StackSize)));
}
}