1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/tools
Jake Ehrlich dd2311d56c [llvm-objcopy] Fix major layout bugs in llvm-objcopy
Somehow a few massive errors slipped though the cracks of testing.

1. The code in Segment::finalize was left over from the old layout
algorithm. In certain situations this would cause very strange issues
with segment layout. For instance in the shift-segments.test case it
would cause the second segment to have the same offset as the first.

2. In debugging this I discovered another issue. Namely section alignment
was not being computed based on Section->Align but instead
Section->Offset which is bizarre and makes no sense. I have no clue how
it worked in the first place. This issue is also fixed

3. Fixing #2 exposed a bug where things were not being written past the end
of the file that technically should have been. This was because in
certain cases (like overlapping-segments) the end of the file wouldn't
always be bumped if the offset could be chosen relative to an existing
segment that already had it's offset chosen. For fully nested segments
this is fine but for overlapping segments this leaves the end of the
file short. So I changed how the offset is bumped when looping though
segments.

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

llvm-svn: 314918
2017-10-04 17:44:42 +00:00
..
dsymutil [dsymutil] Better support for symbol aliases 2017-09-26 08:17:28 +00:00
gold [ThinLTO/gold] Implement ThinLTO cache pruning support 2017-09-18 23:24:55 +00:00
llvm-ar Don't call exit from cl::PrintHelpMessage. 2017-09-07 23:30:48 +00:00
llvm-config
llvm-cov [llvm-cov] Fix showing title when filtering and not outputting to a directory 2017-10-04 08:54:37 +00:00
llvm-cvtres Fix bug in symbol generation for resource COFF 2017-06-30 18:16:35 +00:00
llvm-cxxdump
llvm-cxxfilt
llvm-dwarfdump llvm-dwarfdump: implement the --regex option in combination with --name. 2017-10-03 22:08:22 +00:00
llvm-dwp llvm-dwarfdump: automatically dump both regular and .dwo variant of sections 2017-09-13 22:09:01 +00:00
llvm-extract
llvm-isel-fuzzer llvm-isel-fuzzer: Add some basic tests 2017-09-03 00:37:39 +00:00
llvm-lit
llvm-lto
llvm-lto2 Fix the bug that parseAAPipeline is not invoked in runNewPMPasses in release compiler. 2017-08-02 03:03:19 +00:00
llvm-mc
llvm-modextract
llvm-mt llvm-mt: Merge manifest namespaces. 2017-08-19 00:37:41 +00:00
llvm-nm [WebAssembly] Allow each data segment to specify its own alignment 2017-09-29 16:50:08 +00:00
llvm-objcopy [llvm-objcopy] Fix major layout bugs in llvm-objcopy 2017-10-04 17:44:42 +00:00
llvm-objdump Fix a bug in llvm-objdump when disassembling using the wrong default CPU 2017-09-21 21:45:02 +00:00
llvm-opt-report
llvm-pdbdump [PDB] Add a test that verifies every known type record. 2017-07-05 18:43:25 +00:00
llvm-profdata Fix the bug when SampleProfileWriter writes out number of callsites. 2017-08-03 00:09:18 +00:00
llvm-rc [llvm-rc] Serialize DIALOG(EX) to .res files (serialization, pt 4). 2017-09-30 00:38:52 +00:00
llvm-readobj AMDGPU: Add ELFOSABI_AMDGPU_PAL 2017-10-03 20:54:07 +00:00
llvm-size
llvm-split
llvm-strings [llvm] Get rid of "%T" expansions 2017-08-15 20:29:24 +00:00
llvm-symbolizer [llvm-symbolizer] Fix coff-dwarf.test 2017-09-16 19:01:04 +00:00
llvm-xray/X86 [XRay] convert FDR arg1 log entries 2017-09-27 04:48:03 +00:00
lto [test] Enable LeakSanitizer on 64-bit Darwin ASan llvm builds 2017-09-29 16:51:50 +00:00
obj2yaml [obj2yaml] Don't crash for input files without symbol table 2017-09-22 09:30:40 +00:00
sancov
sanstats [sanstats] Remove a flaky test. 2017-07-13 01:36:12 +00:00
yaml2obj [yaml2obj][ELF] Add support for symbol indexes greater than SHN_LORESERVE 2017-09-07 20:44:16 +00:00