1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/Object
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
..
Archive.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
ArchiveWriter.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
Binary.cpp
CMakeLists.txt
COFFImportFile.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
COFFModuleDefinition.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
COFFObjectFile.cpp [NFC] Fix typo in error message 2020-02-24 18:22:05 +01:00
Decompressor.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
ELF.cpp
ELFObjectFile.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
Error.cpp
IRObjectFile.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
IRSymtab.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
LLVMBuild.txt
MachOObjectFile.cpp Fix dyld opcode *_ADD_ADDR_IMM_SCALED error detection. 2020-03-04 19:57:45 -08:00
MachOUniversal.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
Minidump.cpp
ModuleSymbolTable.cpp Another round of GCC5 fixes. 2020-01-29 02:09:24 +01:00
Object.cpp
ObjectFile.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
RecordStreamer.cpp [MC] De-capitalize another set of MCStreamer::Emit* functions 2020-02-14 19:26:52 -08:00
RecordStreamer.h [MC] De-capitalize another set of MCStreamer::Emit* functions 2020-02-14 19:26:52 -08:00
RelocationResolver.cpp
SymbolicFile.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
SymbolSize.cpp [NFC] Fix unused variable warning. 2020-01-28 17:19:23 -08:00
TapiFile.cpp
TapiUniversal.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
WasmObjectFile.cpp [WebAssembly] Use llvm::Optional to store optional symbol attributes. NFC. 2020-02-19 17:25:33 -08:00
WindowsMachineFlag.cpp
WindowsResource.cpp Prevent gcc from issuing a warning upon coffnamecpy 2020-02-18 16:13:59 +01:00
XCOFFObjectFile.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00