forked from OSchip/llvm-project
866113c2ea
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
LLVMBuild.txt | ||
SystemZMCAsmBackend.cpp | ||
SystemZMCAsmInfo.cpp | ||
SystemZMCAsmInfo.h | ||
SystemZMCCodeEmitter.cpp | ||
SystemZMCFixups.h | ||
SystemZMCObjectWriter.cpp | ||
SystemZMCTargetDesc.cpp | ||
SystemZMCTargetDesc.h |