1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib
Michael Trent 4f4788bcfc Fix dyld opcode *_ADD_ADDR_IMM_SCALED error detection.
Summary:
Move the check for malformed REBASE_OPCODE_ADD_ADDR_IMM_SCALED and
BIND_OPCODE_DO_BIND_ADD_ADDR_IMM_SCALED opcodes after the immediate
has been applied to the SegmentOffset. This fixes specious errors
where SegmentOffset is pointing between two sections when trying to
correct the SegmentOffset value.

Update the regression tests to verify the proper error message.

Reviewers: pete, ab, lhames, steven_wu, jhenderson

Reviewed By: pete

Subscribers: hiraditya, dexonsmith, rupprecht, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75629
2020-03-04 19:57:45 -08:00
..
Analysis [InstSimplify] Constant fold icmp of gep 2020-03-04 23:16:52 +01:00
AsmParser Revert "Restore "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP"" 2020-03-02 14:02:13 -08:00
BinaryFormat Avoid including FileSystem.h from MemoryBuffer.h 2020-02-29 12:30:23 -08:00
Bitcode [Bitcode] Fix -Wswitch after c5ec8890c95bf9f56beff285efbcc7b797ffb15a 2020-03-03 10:02:34 -08:00
Bitstream
CodeGen [DAGCombine] Check the uses of negated floating constant and remove the hack 2020-03-05 03:42:50 +00:00
DebugInfo [DebugInfo] Avoid crashing on an invalid section identifier. 2020-03-05 10:54:43 +07:00
Demangle
DWARFLinker [dsymutil] Fix template stripping in getDIENames(...) to account for overloaded operators 2020-03-04 14:54:31 -08:00
ExecutionEngine [ORC] Decompose LazyCallThroughManager::callThroughToSymbol() 2020-03-05 00:24:23 +01:00
Frontend
Fuzzer
FuzzMutate
IR Revert "Restore "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP"" 2020-03-02 14:02:13 -08:00
IRReader
LineEditor
Linker
LTO [LTO] onfig::addSaveTemps: clear ResolutionFile upon an error 2020-03-02 17:49:04 -08:00
MC [MCDwarf] Change emitListsTableHeaderStart to use a reference and fold Start/End symbols generation into it 2020-03-03 16:20:40 -08:00
MCA
Object Fix dyld opcode *_ADD_ADDR_IMM_SCALED error detection. 2020-03-04 19:57:45 -08:00
ObjectYAML [yaml2obj] - Address post commit comments for D74764 2020-02-25 13:26:46 +03:00
Option
Passes [PassManager] adjust VectorCombine placement 2020-03-04 11:10:49 -05:00
ProfileData [Coverage] Collect all function records in an object (D69471 followup) 2020-03-02 12:01:09 -08:00
Remarks
Support Revert abb00753 "build: reduce CMake handling for zlib" (PR44780) 2020-03-03 11:03:09 +01:00
TableGen Explicitly include <cassert> when using assert 2020-03-02 22:45:28 +01:00
Target [AVR][NFC] Use Register instead of unsigned 2020-03-05 11:38:24 +08:00
Testing
TextAPI [llvm][MachO] fix adding weak def syms 2020-03-02 17:00:24 -08:00
ToolDrivers
Transforms [CodeGenPrepare] Handle ExtractValueInst in dupRetToEnableTailCallOpts 2020-03-04 11:10:32 -08:00
WindowsManifest Try to fix WindowsManifest CMake logic on Windows 2020-02-28 17:24:03 -08:00
XRay
CMakeLists.txt
LLVMBuild.txt