summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process
diff options
context:
space:
mode:
authorOliver Stannard <oliver.stannard@arm.com>2016-01-25 10:20:19 +0000
committerOliver Stannard <oliver.stannard@arm.com>2016-01-25 10:20:19 +0000
commit7772f023b5fb0b9e8169192b98a57c47d4e54efb (patch)
tree82fb4cdc024c415776bf1903fd62ce0b9ac3c809 /lldb/packages/Python/lldbsuite/test/python_api/process
parent3ca3e192d033db5dd23b5f399bf84725348247c1 (diff)
downloadbcm5719-llvm-7772f023b5fb0b9e8169192b98a57c47d4e54efb.tar.gz
bcm5719-llvm-7772f023b5fb0b9e8169192b98a57c47d4e54efb.zip
[TableGen] Fix sort order of asm operand classes
This is a fix for https://llvm.org/bugs/show_bug.cgi?id=22796. The previous implementation of ClassInfo::operator< allowed cycles of classes such that x < y < z < x, meaning that a list of them cannot be correctly sorted, and the sort order could differ with different standard libraries. The original implementation sorted classes by ValueName if they were otherwise equal. This isn't strictly necessary, but some backends seem to accidentally rely on it. If I reverse this comparison I get 8 test failures spread across the AArch64, Mips and X86 backends, so I have left it in until those backends can be fixed. There was one case in the X86 backend where the observable behaviour of the assembler is changed by this patch. This was because some of the memory asm operands were not marked as children of X86MemAsmOperand. Differential Revision: http://reviews.llvm.org/D16141 llvm-svn: 258677
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud