summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2020-08-03 03:29:58 +0000
committerdlg <dlg@openbsd.org>2020-08-03 03:29:58 +0000
commita8e9f808963388af56d210337c14dd50c91412d5 (patch)
tree229b2e00387babe032a9ce40437c884c07556fc8 /gnu/llvm/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
parentadd a BPF_RND load location that provides a random value. (diff)
downloadwireguard-openbsd-a8e9f808963388af56d210337c14dd50c91412d5.tar.xz
wireguard-openbsd-a8e9f808963388af56d210337c14dd50c91412d5.zip
add support for handling loads from BPF_RND.
this adds "rnd" and "random" as keywords in the grammar, and handles them as an arithmetic operator. the decoder recognises the load, so tcpdump can print it as 'ld #random'. most of the handling is copied from the "len"/"length" keywoard handling that generates and decodes a load of the actual wire length of the packet. ok jmatthew@ tb@ kn@
Diffstat (limited to 'gnu/llvm/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions