summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py
diff options
context:
space:
mode:
authorDiogo N. Sampaio <diogo.sampaio@arm.com>2019-06-18 10:04:36 +0000
committerDiogo N. Sampaio <diogo.sampaio@arm.com>2019-06-18 10:04:36 +0000
commit0265716b272d36badd8c4041056c025c1902f9e1 (patch)
treee9c22b69cc26886209b57c9cb2134dca25740c49 /lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py
parent7dd529e54da8daf143a359cac16dbaeafe9a7835 (diff)
downloadbcm5719-llvm-0265716b272d36badd8c4041056c025c1902f9e1.tar.gz
bcm5719-llvm-0265716b272d36badd8c4041056c025c1902f9e1.zip
[NFC] Improve triple match of scripts that update tests
Summary: The prior behavior of the triple matcher would stop in the first matched triple. It was not possible to create specific matches for sub-sets of a triple (e.g aarch64-apple-darwin would never be used after aarch64 was matched). This patch: 1) Allows that specialized triples take priority, considering that the string lenght of the triple indentifies how specialized a triple is. If two triples of same lenght match, the one matched first prevails, preserving the old behavior. 2) Remove 20 duplicated triples of arm, thumb, aarch64 options with same arguments, matching the common prefix (aarch64, arm, thumb) of them. 3) Creates three new function matching regexes and five triple options for arm64-apple-ios, (arm|thumb)-apple-ios and thumb(v5)?-macho Reviewers: lebedev.ri, RKSimon, MaskRay, gbedwell Reviewed By: MaskRay Subscribers: javed.absar, kristof.beyls, llvm-commits, carwil Tags: #llvm Differential Revision: https://reviews.llvm.org/D63145 llvm-svn: 363656
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud