1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test
Jordan Rupprecht 9386301f77 [llvm-objcopy] Add support for -I binary -B <arch>.
Summary:
The -I (--input-target) and -B (--binary-architecture) flags exist but are currently silently ignored. This adds support for -I binary for architectures i386, x86-64 (and alias i386:x86-64), arm, aarch64, sparc, and ppc (powerpc:common64). This is largely based on D41687.

This is done by implementing an additional subclass of Reader, BinaryReader, which works by interpreting the input file as contents for .data field, sets up a synthetic header, and adds additional sections/symbols (e.g. _binary__tmp_data_txt_start).

Reviewers: jakehehrlich, alexshap, jhenderson, javed.absar

Reviewed By: jhenderson

Subscribers: jyknight, nemanjai, kbarton, fedor.sergeev, jrtc27, kristof.beyls, paulsemel, llvm-commits

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

llvm-svn: 340070
2018-08-17 18:51:11 +00:00
..
Analysis
Assembler
Bindings
Bitcode
BugPoint
CodeGen [X86][SSE] Lower constant vXi8 ISD::SRL/ISD::SRA using PMULLW 2018-08-17 18:03:11 +00:00
DebugInfo Remove a hardcoded address in test/DebugInfo/X86/vla-multi.ll 2018-08-17 18:39:19 +00:00
Demangle [MS Demangler] Rework the way operators are demangled. 2018-08-17 16:14:05 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
LTO
MC
Object
ObjectYAML
Other
SafepointIRVerifier
SymbolRewriter
TableGen
ThinLTO/X86 [ThinLTO] Add option for printing import failure reasons 2018-08-17 16:53:47 +00:00
tools [llvm-objcopy] Add support for -I binary -B <arch>. 2018-08-17 18:51:11 +00:00
Transforms [NFC] Expand test cases for simplifying pow() 2018-08-17 17:59:38 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh