[clang][bytecode] Fix incorrect handling of arithmetic on string literals (#173212)
The fast path for string literals fails to consider the offset of the
pointer into an array of chars, this change simply adds the required
checks and bounds corrections prior to calling strnlen.
Fixes #173175
[ORC] Fix ReOptimizeLayer buggy jit-dispatch signature in fa7f7a4cab4. (#173457)
fa7f7a4cab4 changed the jit-dispatch function signature used in the
orc_rt_lite_reoptimize_helper function, but jit-dispatch still takes a
raw data pointer and size argument.
Should fix the bug in
https://lab.llvm.org/buildbot/#/builders/169/builds/18319 and similar
builds.
x11/libxkbcommon: Fix build with non-default options setting
Installation of xkbcli-dump-keymap and xkbcli-interactive should be
conditionalized based on selected port options.
PR: 291825
Reported by: Ivan Rozhuk <rozhuk.im at gmail.com>,
Michael Muenz <m.muenz at gmail.com>
Tested by: Ivan Rozhuk <rozhuk.im at gmail.com>
Approved by: portmgr (build fix blanket)
Fixes: 90d358a2edc4 (x11/libxkbcommon: Update to 1.13.0)
Rewrite the adj-rib-out code to not be per-peer based but instead
global with a peer bitmap to know which peer holds which prefix version.
So a pt_entry now includes an array of struct adjout_prefix elements
each entry is for a different path (different set of attributes) and
includes a bitmap that tracks which peers include this prefix / attr combo.
An optimisation on top of this is that the path_id_tx is forced to 0 for
peers that have no add-path send enabled. This way the lookup for this
common case is less deep.
The peer_reaper is now replaced with a simple adjout_prefix_dump call.
In general this reduces memory consumption by more than 50% especially if
the outbound filters are producing the same path for many peers. My IXP
test setup dropped from over 20GB to below 5GB memory usage.
OK tb@