1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test
Jake Ehrlich 5033237287 [llvm-objcopy] Fix bug in how segment alignment was being handled
Just aligning segment offsets to segment alignment is incorrect and also
wastes more space than is needed. The requirement is that p_offset ==
p_addr modulo p_align *not* that p_offset == 0 modulo p_align. Generally
speaking we've been using p_addr == 0 modulo p_align. In fact yaml2obj
can't even produce a valid situation which causes llvm-objcopy to
produce incorrect results because alignment and offset were both
inherited from the sections the program header covers. This change fixes
this bad behavior in llvm-objcopy.

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

llvm-svn: 317284
2017-11-02 23:24:04 +00:00
..
Analysis Irreducible loop metadata for more accurate block frequency under PGO. 2017-11-02 22:26:51 +00:00
Assembler
Bindings [LLVM-C] Expose functions to create debug locations via DIBuilder. 2017-11-01 22:18:52 +00:00
Bitcode
BugPoint
CodeGen [X86] Give AVX512VL instructions priority over their AVX equivalents. 2017-11-02 23:23:37 +00:00
DebugInfo [codeview] Merge file checksum entries for DIFiles with the same absolute path 2017-10-31 21:52:15 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [asan] Upgrade private linkage globals to internal linkage on COFF 2017-10-31 16:16:08 +00:00
Integer
JitListener
Linker
LTO LTO: Apply global DCE to ThinLTO modules at LTO opt level 0. 2017-11-01 17:58:39 +00:00
MC [AsmPrinterDwarf] Add support for .cfi_restore directive 2017-11-02 12:00:58 +00:00
Object
ObjectYAML
Other
SafepointIRVerifier
SymbolRewriter
TableGen [globalisel][tablegen] Add support for multi-insn emission 2017-11-01 19:57:57 +00:00
ThinLTO/X86 Irreducible loop metadata for more accurate block frequency under PGO. 2017-11-02 22:26:51 +00:00
tools [llvm-objcopy] Fix bug in how segment alignment was being handled 2017-11-02 23:24:04 +00:00
Transforms IndVarSimplify: preserve debug information attached to widened PHI nodes. 2017-11-02 23:17:06 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt Add test dependency on llvm-cfi-verify to fix up the build breakages on sanitizers. 2017-11-01 00:49:45 +00:00
lit.cfg.py Add feature to determine if host architecture is 64-bit in llvm-lit 2017-11-02 23:14:55 +00:00
lit.site.cfg.py.in Add feature to determine if host architecture is 64-bit in llvm-lit 2017-11-02 23:14:55 +00:00
TestRunner.sh