mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 07:31:28 +00:00
e6eda66cbc
Recommits the changes from https://reviews.llvm.org/D148216. Explicitly named globals are now matched literally, instead of emitting a capture group for the name. This resolves #70047. Metadata and annotations, on the other hand, are captured and matched against by default, since their identifiers are not stable. The reasons for revert (#63746) have been fixed: The first issue, that of duplicated checkers, has already been resolved in #70050. This PR resolves the second issue listed in #63746, regarding the order of named and unnamed globals. This is fixed by recording the index of substrings containing global values, and sorting the checks according to that index before emitting them. This results in global value checks being emitted in the order they were seen instead of being grouped separately. |
||
---|---|---|
.. | ||
Inputs | ||
annotations.test | ||
basic-cplusplus.test | ||
check_attrs.test | ||
check-globals.test | ||
def-and-decl.test | ||
exec-all-runlines.test | ||
explicit-template-instantiation.test | ||
generated-funcs-regex.test | ||
generated-funcs.test | ||
global-hex-value-regex.test | ||
global-value-regex.test | ||
ifdef.test | ||
lit.local.cfg | ||
mangled_names.test | ||
on_the_fly_arg_change.test | ||
prefix-never-matches.test | ||
replace-value-regex-across-runs.test | ||
resolve-tmp-conflict.test |