summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorEugene Syromyatnikov <evgsyr@gmail.com>2023-04-30 15:48:02 +0200
committerEugene Syromyatnikov <evgsyr@gmail.com>2023-04-30 16:27:10 +0200
commit471f3593bf491e9296b9b889a15ba636460850c2 (patch)
tree6412a59511f490610b282adf40368f0b189c52e9 /NEWS
parenteb30d4d6499ab0c68ae5766082a34fa061fac1c4 (diff)
downloadstrace-471f3593bf491e9296b9b889a15ba636460850c2.tar.gz
xlat/gen.sh: allow skipping xlat value checking
This enables storing "wrong" values in xlats, so they can be referenced in cases when there are discrepancies between what UAPI headers provide and what they used to provide. * src/xlat/gen.sh (cond_def): Emit static_assert() only if $nocheckval is not enabled. (cond_xlat): Add is_shift local variable; check whether $m starts with "1<<" and set $is_shift if it is; use print_xval() only if neither is_shift nor nocheckval are set; call print_xlat_pair() if $nocheckval is set. (gen_header): Add nocheckval to local variables; handle "#checkval" and "#nocheckval" directives.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions