We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cb847a commit b04e26eCopy full SHA for b04e26e
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -2825,7 +2825,7 @@ void PPCAIXAsmPrinter::emitGlobalVariableHelper(const GlobalVariable *GV) {
2825
// Map the global variable to its CSECT.
2826
SectionKind ProfCKind = getObjFileLowering().getKindForGlobal(GV, TM);
2827
2828
- MCSectionXCOFF *ProfCCsect = cast<MCSectionXCOFF>(
+ MCSectionXCOFF *ProfCCsect = static_cast<MCSectionXCOFF *>(
2829
getObjFileLowering().SectionForGlobal(ProfCGV, ProfCKind, TM));
2830
2831
ProfGenSubSections.push_back({Csect, ProfCCsect});
0 commit comments