diff --git a/llvm/lib/Target/X86/X86MCInstLower.cpp b/llvm/lib/Target/X86/X86MCInstLower.cpp --- a/llvm/lib/Target/X86/X86MCInstLower.cpp +++ b/llvm/lib/Target/X86/X86MCInstLower.cpp @@ -1526,7 +1526,8 @@ STI); OutStreamer->emitInstruction( MCInstBuilder(X86::JMP_1) - .addExpr(MCSymbolRefExpr::create(ReportError, OutContext)), + .addExpr(MCSymbolRefExpr::create(ReportError, MCSymbolRefExpr::VK_PLT, + OutContext)), STI); }