llvm-project/llvm/test
James Henderson abd335a339 [llvm-objdump] Fix unstable disassembly output for sections with same address
When two sections shared the same address, the disassembly code was
using pointer values when sorting (see the SectionRef less than
operator). Since those values aren't guaranteed to have a specific
order, this meant the disassembly code would sometimes change which
section to pick when finding symbols targeted by calls in fully linked
objects.

This change fixes the non-determinism, so that the same section is
always picked. This might have a negative impact in that now a section
without any symbol might be picked over a section with symbols, but this
will be addressed in a later commit.

Fixes https://bugs.llvm.org/show_bug.cgi?id=45411.

Reviewed by: grimar, MaskRay

Differential Revision: https://reviews.llvm.org/D77640
2020-04-08 10:57:12 +01:00
..
Analysis [x86] add size cost tests for casts and binops; NFC 2020-04-06 12:38:15 -04:00
Assembler [llvm] Fix missing FileCheck directive colons 2020-04-06 09:59:08 -06:00
Bindings
Bitcode
BugPoint
CodeGen [GlobalISel] Combine sext([sz]ext) -> [sz]ext, zext(zext) -> zext 2020-04-08 11:24:29 +02:00
DebugInfo [DebugInfo] Fix reading DWARFv5 type units in DWP. 2020-04-08 12:50:58 +07:00
Demangle
Examples
ExecutionEngine Revert 43f031d312 "Enable IBT(Indirect Branch Tracking) in JIT with CET(Control-flow Enforcement Technology)" 2020-04-06 15:05:25 +02:00
Feature
FileCheck [FileCheck] Add missing %ProtectFileCheckOutput to FileCheck tests 2020-03-31 17:29:11 -04:00
Instrumentation [AddressSanitizer] Fix for wrong argument values appearing in backtraces 2020-04-06 15:59:25 -07:00
Integer
JitListener
LTO [ThinLTO] Drop dso_local if a GlobalVariable satisfies isDeclarationForLinker() 2020-04-07 15:46:01 -07:00
Linker
MC [ARM] Remove condition that could never be true 2020-04-07 09:50:56 +01:00
MachineVerifier
Object [obj2yaml] - Teach tool to dump program headers. 2020-03-31 18:10:19 +03:00
ObjectYAML [llvm] Fix missing FileCheck directive colons 2020-04-06 09:59:08 -06:00
Other Add InjectTLIMappings pass to new pass manager 2020-04-06 13:16:48 -05:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen [Alignment][NFC] Transitionning more getMachineMemOperand call sites 2020-03-31 08:36:18 +00:00
ThinLTO/X86 [ThinLTO] Drop dso_local if a GlobalVariable satisfies isDeclarationForLinker() 2020-04-07 15:46:01 -07:00
Transforms [InstCombine] add icmp+cast tests for ppc_fp128; NFC 2020-04-07 07:35:01 -04:00
Unit Try again to get tests passing again on Windows. 2020-04-02 20:00:38 -04:00
Verifier [Verifier] Verify matrix dimensions operands match vector size. 2020-04-01 09:21:39 +01:00
YAMLParser
tools [llvm-objdump] Fix unstable disassembly output for sections with same address 2020-04-08 10:57:12 +01:00
.clang-format
CMakeLists.txt Reland "Make it possible for lit.site.cfg to contain relative paths, and use it for llvm and clang" 2020-04-02 16:12:03 -04:00
TestRunner.sh
lit.cfg.py
lit.site.cfg.py.in Try again to get tests passing again on Windows. 2020-04-02 20:00:38 -04:00