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 052a4b5 commit 4dc4f82Copy full SHA for 4dc4f82
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -4096,7 +4096,8 @@ const MCExpr *AsmPrinter::lowerBlockAddressConstant(const BlockAddress &BA) {
4096
4097
/// GetCPISymbol - Return the symbol for the specified constant pool entry.
4098
MCSymbol *AsmPrinter::GetCPISymbol(unsigned CPID) const {
4099
- if (getSubtargetInfo().getTargetTriple().isWindowsMSVCEnvironment()) {
+ if (getSubtargetInfo().getTargetTriple().isWindowsMSVCEnvironment() ||
4100
+ getSubtargetInfo().getTargetTriple().isUEFI()) {
4101
const MachineConstantPoolEntry &CPE =
4102
MF->getConstantPool()->getConstants()[CPID];
4103
if (!CPE.isMachineConstantPoolEntry()) {
0 commit comments