We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2afef58 commit a9827fbCopy full SHA for a9827fb
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -4113,7 +4113,8 @@ const MCExpr *AsmPrinter::lowerBlockAddressConstant(const BlockAddress &BA) {
4113
4114
/// GetCPISymbol - Return the symbol for the specified constant pool entry.
4115
MCSymbol *AsmPrinter::GetCPISymbol(unsigned CPID) const {
4116
- if (getSubtargetInfo().getTargetTriple().isWindowsMSVCEnvironment()) {
+ if (getSubtargetInfo().getTargetTriple().isWindowsMSVCEnvironment() ||
4117
+ getSubtargetInfo().getTargetTriple().isUEFI()) {
4118
const MachineConstantPoolEntry &CPE =
4119
MF->getConstantPool()->getConstants()[CPID];
4120
if (!CPE.isMachineConstantPoolEntry()) {
0 commit comments