1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00
llvm-mirror/lib
Alex Bradbury 4a2d4860e6 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
..
Analysis [LAA] Correctly return a half-open range in expandBounds 2017-04-05 09:24:26 +00:00
AsmParser getPristineRegs is not accurately considering shrink wrapping puts 2017-03-30 22:34:20 +00:00
Bitcode Bitcode: Remove reader support for MODULE_CODE_PURGEVALS. 2017-04-03 17:58:48 +00:00
CodeGen Allow targets to opt-in to codegen in SCC order 2017-04-04 23:44:46 +00:00
DebugInfo [PDB] Save one type record copy 2017-04-04 00:56:34 +00:00
Demangle Add support for demangling C++11 thread_local variables. 2017-01-31 15:56:36 +00:00
ExecutionEngine [RuntimeDyld] Make RuntimeDyld honor the ProcessAllSections flag. 2017-04-04 17:03:49 +00:00
Fuzzer [Fuzzer] Flush std::cout before aborting in CxxStringEqTest 2017-04-03 23:00:25 +00:00
IR Verifier: Check some amdgpu calling convention restrictions 2017-04-04 18:43:11 +00:00
IRReader
LibDriver
LineEditor
Linker [Linker] Provide callback for internalization 2017-03-13 18:08:11 +00:00
LTO LTO: call getRealLinkageName on IRNames before feeding to getGUID 2017-03-31 21:56:30 +00:00
MC Add MCContext argument to MCAsmBackend::applyFixup for error reporting 2017-04-05 10:16:14 +00:00
Object [WASM] Remove other comparison of unsigned expression >= 0. 2017-04-01 19:47:52 +00:00
ObjectYAML Add virtual destructor to WasmYAML::Section or avoid memory leak 2017-03-31 22:14:14 +00:00
Option Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
Passes [PGO] Memory intrinsic calls optimization based on profiled size 2017-04-04 16:42:20 +00:00
ProfileData [PGO] Memory intrinsic calls optimization based on profiled size 2017-04-04 16:42:20 +00:00
Support Implement host CPU detection for AArch64 2017-04-04 19:06:04 +00:00
TableGen Use print() instead of dump() in code 2017-01-28 02:47:46 +00:00
Target Add MCContext argument to MCAsmBackend::applyFixup for error reporting 2017-04-05 10:16:14 +00:00
Transforms [ObjCArc] Do not dereference an invalidated iterator. 2017-04-05 03:44:09 +00:00
XRay Spelling mistakes in comments. NFCI. 2017-03-30 12:59:53 +00:00
CMakeLists.txt [XRay] Define the library for XRay trace logs 2017-01-11 06:39:09 +00:00
LLVMBuild.txt