reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/MC/MCContext.h
  681     void reportError(SMLoc L, const Twine &Msg);

References

lib/MC/ELFObjectWriter.cpp
  318       Ctx.reportError(Loc, "A dwo section may not contain relocations");
  322       Ctx.reportError(Loc, "A relocation may not refer to a dwo section");
  666       Ctx.reportError(SMLoc(), "Undefined temporary symbol");
  705         Ctx.reportError(SMLoc(),
 1310       Asm.getContext().reportError(SMLoc(), "versioned symbol " + AliasName +
 1316       Asm.getContext().reportError(
 1458       Ctx.reportError(Fixup.getLoc(),
 1467       Ctx.reportError(Fixup.getLoc(),
lib/MC/MCAssembler.cpp
  216     Ctx.reportError(Fixup.getLoc(), "expected relocatable expression");
  221       Ctx.reportError(Fixup.getLoc(),
  301       getContext().reportError(FF.getLoc(),
  307       getContext().reportError(FF.getLoc(), "invalid number of bytes");
  348       getContext().reportError(OF.getLoc(),
  358         getContext().reportError(OF.getLoc(), "expected absolute expression");
  365       getContext().reportError(
lib/MC/MCContext.cpp
  341     reportError(SMLoc(), "invalid symbol redefinition");
  705     reportError(Loc, Msg);
  717   reportError(Loc, Msg);
lib/MC/MCELFStreamer.cpp
  470       getContext().reportError(
lib/MC/MCFragment.cpp
  146     Assembler.getContext().reportError(
  153     Assembler.getContext().reportError(
  166     Asm.getContext().reportError(Expr->getLoc(),
lib/MC/MCMachOStreamer.cpp
  429     getContext().reportError(
lib/MC/MCObjectStreamer.cpp
   71       getContext().reportError(PendingFixup.Fixup.getLoc(),
  202       getContext().reportError(
lib/MC/MCStreamer.cpp
  263     getContext().reportError(SMLoc(), "this directive must appear between "
  287     getContext().reportError(Loc, "parent function id not introduced by "
  306     getContext().reportError(
  315     getContext().reportError(
  404     return getContext().reportError(Loc, "invalid symbol redefinition");
  424     return getContext().reportError(
  659     getContext().reportError(
  664     getContext().reportError(
  674     return getContext().reportError(
  677     getContext().reportError(
  693     getContext().reportError(Loc, "Not all chained regions terminated!");
  704     getContext().reportError(Loc, "Not all chained regions terminated!");
  728     return getContext().reportError(
  743     return getContext().reportError(
  747     getContext().reportError(Loc, "Don't know what kind of handler this is!");
  759     getContext().reportError(Loc, "Chained unwind areas can't have handlers!");
  837     return getContext().reportError(
  840     return getContext().reportError(Loc, "offset is not a multiple of 16");
  842     return getContext().reportError(
  858     return getContext().reportError(Loc,
  861     return getContext().reportError(
  877     return getContext().reportError(
  893     return getContext().reportError(Loc, "offset is not a multiple of 16");
  907     return getContext().reportError(
  959     getContext().reportError(SMLoc(), "Unfinished frame!");
lib/MC/MCWinCOFFStreamer.cpp
  336   getContext().reportError(SMLoc(), Msg);
lib/MC/MachObjectWriter.cpp
  468     Asm.getContext().reportError(Fixup.getLoc(),
lib/MC/WasmObjectWriter.cpp
  448     Ctx.reportError(
lib/MC/WinCOFFObjectWriter.cpp
  705     Asm.getContext().reportError(Fixup.getLoc(),
  711     Asm.getContext().reportError(Fixup.getLoc(),
  729       Asm.getContext().reportError(
 1016       Asm.getContext().reportError(
lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
  162       Ctx.reportError(Fixup.getLoc(), "fixup value out of range");
  173       Ctx.reportError(Fixup.getLoc(), "fixup value out of range");
  175       Ctx.reportError(Fixup.getLoc(), "fixup not sufficiently aligned");
  184       Ctx.reportError(Fixup.getLoc(), "fixup value out of range");
  191       Ctx.reportError(Fixup.getLoc(), "fixup value out of range");
  193       Ctx.reportError(Fixup.getLoc(), "fixup must be 2-byte aligned");
  200       Ctx.reportError(Fixup.getLoc(), "fixup value out of range");
  202       Ctx.reportError(Fixup.getLoc(), "fixup must be 4-byte aligned");
  209       Ctx.reportError(Fixup.getLoc(), "fixup value out of range");
  211       Ctx.reportError(Fixup.getLoc(), "fixup must be 8-byte aligned");
  218       Ctx.reportError(Fixup.getLoc(), "fixup value out of range");
  220       Ctx.reportError(Fixup.getLoc(), "fixup must be 16-byte aligned");
  229       Ctx.reportError(Fixup.getLoc(),
  238       Ctx.reportError(Fixup.getLoc(), "unresolved movw fixup not yet "
  283         Ctx.reportError(Fixup.getLoc(), "fixup value out of range");
  291       Ctx.reportError(Fixup.getLoc(), "fixup value out of range");
  298       Ctx.reportError(Fixup.getLoc(), "fixup value out of range");
  301       Ctx.reportError(Fixup.getLoc(), "fixup not sufficiently aligned");
  307       Ctx.reportError(Fixup.getLoc(), "fixup value out of range");
  310       Ctx.reportError(Fixup.getLoc(), "fixup not sufficiently aligned");
lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
   64     Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G3));
   67     Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G2));
   70     Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_SABS_G2));
   73     Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G2_NC));
   76     Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_SABS_G1));
   79     Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G1_NC));
   82     Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLD_MOVW_DTPREL_G2));
   85     Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLD_MOVW_DTPREL_G1_NC));
   88     Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLE_MOVW_TPREL_G2));
   91     Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLE_MOVW_TPREL_G1_NC));
   94     Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSIE_MOVW_GOTTPREL_G1));
   97     Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSIE_MOVW_GOTTPREL_G0_NC));
  125       Ctx.reportError(Fixup.getLoc(), "1-byte data relocations not supported");
  133         Ctx.reportError(Fixup.getLoc(),
  141         Ctx.reportError(Fixup.getLoc(),
  149           Ctx.reportError(Fixup.getLoc(),
  163       Ctx.reportError(Fixup.getLoc(),
  181       Ctx.reportError(Fixup.getLoc(), "Unsupported pc-relative fixup kind");
  191       Ctx.reportError(Fixup.getLoc(), "1-byte data relocations not supported");
  199         Ctx.reportError(Fixup.getLoc(),
  223       Ctx.reportError(Fixup.getLoc(),
  238       Ctx.reportError(Fixup.getLoc(),
  253       Ctx.reportError(Fixup.getLoc(),
  271           Ctx.reportError(Fixup.getLoc(),
  279           Ctx.reportError(Fixup.getLoc(),
  283           Ctx.reportError(Fixup.getLoc(),
  294           Ctx.reportError(Fixup.getLoc(),
  305           Ctx.reportError(Fixup.getLoc(),
  312       Ctx.reportError(Fixup.getLoc(),
  323           Ctx.reportError(Fixup.getLoc(), "ILP32 64-bit load/store "
  341           Ctx.reportError(Fixup.getLoc(), "ILP32 64-bit load/store "
  351           Ctx.reportError(Fixup.getLoc(), "ILP32 64-bit load/store "
  357       Ctx.reportError(Fixup.getLoc(),
  372       Ctx.reportError(Fixup.getLoc(),
  435       Ctx.reportError(Fixup.getLoc(),
  441       Ctx.reportError(Fixup.getLoc(), "Unknown ELF relocation type");
lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
  102       Asm.getContext().reportError(Fixup.getLoc(),
  182     Asm.getContext().reportError(Fixup.getLoc(),
  193     Asm.getContext().reportError(Fixup.getLoc(),
  200     Asm.getContext().reportError(Fixup.getLoc(), "unknown AArch64 fixup kind!");
  212       Asm.getContext().reportError(Fixup.getLoc(),
  244       Asm.getContext().reportError(Fixup.getLoc(),
  251       Asm.getContext().reportError(Fixup.getLoc(),
  264       Asm.getContext().reportError(
  271       Asm.getContext().reportError(
  279       Asm.getContext().reportError(
  311         Asm.getContext().reportError(
  348         Asm.getContext().reportError(
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  291       OutContext.reportError({},
lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp
  117       Ctx->reportError(Fixup.getLoc(), "branch size exceeds simm16");
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
  439     Ctx.reportError(Fixup.getLoc(), "bad relocation fixup type");
  493       Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value");
  514       Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value");
  552       Ctx.reportError(Fixup.getLoc(), "Relocation out of range");
  576       Ctx.reportError(Fixup.getLoc(), "Relocation out of range");
  597       Ctx.reportError(Fixup.getLoc(), "Relocation out of range");
  641       Ctx.reportError(Fixup.getLoc(), "misaligned ARM call destination");
  671         Ctx.reportError(Fixup.getLoc(), FixupDiagnostic);
  682       Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value");
  697         Ctx.reportError(Fixup.getLoc(), FixupDiagnostic);
  708         Ctx.reportError(Fixup.getLoc(), FixupDiagnostic);
  723       Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value");
  744       Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value");
  770       Ctx.reportError(Fixup.getLoc(), "invalid value for this fixup");
  775       Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value");
  790       Ctx.reportError(Fixup.getLoc(), "out of range immediate fixup value");
  797       Ctx.reportError(Fixup.getLoc(), "out of range immediate fixup value");
  814       Ctx.reportError(Fixup.getLoc(), FixupDiagnostic);
  825       Ctx.reportError(Fixup.getLoc(), FixupDiagnostic);
  844       Ctx.reportError(Fixup.getLoc(), FixupDiagnostic);
  854       Ctx.reportError(Fixup.getLoc(), FixupDiagnostic);
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  559         getContext().reportError(Loc, "relocated expression must be 32-bit");
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
  150     Asm.getContext().reportError(Fixup.getLoc(),
  164     Asm.getContext().reportError(Fixup.getLoc(),
  179       Asm.getContext().reportError(Fixup.getLoc(),
  265     Asm.getContext().reportError(Fixup.getLoc(),
  278     Asm.getContext().reportError(Fixup.getLoc(),
  294       Asm.getContext().reportError(Fixup.getLoc(),
  389     Asm.getContext().reportError(Fixup.getLoc(),
lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp
  717     Context.reportError(Loc, Msg);
lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp
  676     Context.reportError(Loc, Msg);
lib/Target/MSP430/MCTargetDesc/MSP430AsmBackend.cpp
  111       Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned");
  121       Ctx.reportError(Fixup.getLoc(), "fixup value out of range");
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
   82       Ctx.reportError(Fixup.getLoc(), "out of range PC16 fixup");
   92       Ctx.reportError(Fixup.getLoc(), "out of range PC19 fixup");
  131       Ctx.reportError(Fixup.getLoc(), "out of range PC7 fixup");
  141       Ctx.reportError(Fixup.getLoc(), "out of range PC10 fixup");
  151       Ctx.reportError(Fixup.getLoc(), "out of range PC16 fixup");
  160       Ctx.reportError(Fixup.getLoc(), "out of range PC18 fixup");
  167       Ctx.reportError(Fixup.getLoc(), "out of range PC18 fixup");
  173       Ctx.reportError(Fixup.getLoc(), "out of range PC18 fixup");
  182       Ctx.reportError(Fixup.getLoc(), "out of range PC21 fixup");
  191       Ctx.reportError(Fixup.getLoc(), "out of range PC26 fixup");
  209       Ctx.reportError(Fixup.getLoc(), "out of range PC21 fixup");
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
  228     Ctx.reportError(Fixup.getLoc(),
  242       Ctx.reportError(Fixup.getLoc(),
lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
  243       Asm.getContext().reportError(Fixup.getLoc(),
lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
   53       Asm.getContext().reportError(Fixup.getLoc(),
  212       Ctx.reportError(Fixup.getLoc(), "fixup value out of range");
  214       Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned");
  229       Ctx.reportError(Fixup.getLoc(), "fixup value out of range");
  231       Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned");
lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
   93     Ctx.reportError(Loc,
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
  157       Asm.getContext().reportError(Fixup.getLoc(),
  165       Asm.getContext().reportError(
  181       Asm.getContext().reportError(
  190       Asm.getContext().reportError(Fixup.getLoc(),
  260         Asm.getContext().reportError(Fixup.getLoc(),
  266       Asm.getContext().reportError(
  286           Asm.getContext().reportError(
  314           Asm.getContext().reportError(
  333         Asm.getContext().reportError(
  337         Asm.getContext().reportError(
  343           Asm.getContext().reportError(
  380     Asm.getContext().reportError(
  396       Asm.getContext().reportError(
  422       Asm.getContext().reportError(Fixup.getLoc(),
lib/Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp
   48       Ctx.reportError(Fixup.getLoc(), "Cannot represent this expression");
   81       Ctx.reportError(Fixup.getLoc(), "unsupported relocation type");
  103       Ctx.reportError(Fixup.getLoc(), "unsupported relocation type");
lib/Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp
  152     getContext().reportError(
  169     getContext().reportError(
  182     getContext().reportError(L, ".cv_fpo_endproc must appear after .cv_proc");
  188       getContext().reportError(L, "missing .cv_fpo_endprologue");
  242     getContext().reportError(
  391     Ctx.reportError(L, Twine("no FPO data found for symbol ") +