llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc
Alex Bradbury 866113c2ea Add MCContext argument to MCAsmBackend::applyFixup for error reporting
A number of backends (AArch64, MIPS, ARM) have been using
MCContext::reportError to report issues such as out-of-range fixup values in
their TgtAsmBackend. This is great, but because MCContext couldn't easily be
threaded through to the adjustFixupValue helper function from its usual
callsite (applyFixup), these backends ended up adding an MCContext* argument
and adding another call to applyFixup to processFixupValue. Adding an
MCContext parameter to applyFixup makes this unnecessary, and even better -
applyFixup can take a reference to MCContext rather than a potentially null
pointer.

Differential Revision: https://reviews.llvm.org/D30264

llvm-svn: 299529
2017-04-05 10:16:14 +00:00
..
CMakeLists.txt
LLVMBuild.txt
SystemZMCAsmBackend.cpp Add MCContext argument to MCAsmBackend::applyFixup for error reporting 2017-04-05 10:16:14 +00:00
SystemZMCAsmInfo.cpp
SystemZMCAsmInfo.h
SystemZMCCodeEmitter.cpp [SystemZ] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-24 22:10:43 +00:00
SystemZMCFixups.h [SystemZ] Support execution hint instructions 2016-11-28 14:01:51 +00:00
SystemZMCObjectWriter.cpp [SystemZ] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-24 22:10:43 +00:00
SystemZMCTargetDesc.cpp [SystemZ] Model access registers as LLVM registers 2016-11-08 20:15:26 +00:00
SystemZMCTargetDesc.h [SystemZ] Model access registers as LLVM registers 2016-11-08 20:15:26 +00:00