summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2024-11-28 10:39:02 +0100
committerPeter Zijlstra <peterz@infradead.org>2024-12-02 12:01:43 +0100
commit2190966fbc14ca2cd4ea76eefeb96a47d8e390df (patch)
tree563acbe5a6484f4a525fbf59434a07cb15eadd42 /scripts/gdb/linux/utils.py
parentc837de3810982cd41cd70e5170da1931439f025c (diff)
x86: Convert unreachable() to BUG()
Avoid unreachable() as it can (and will in the absence of UBSAN) generate fallthrough code. Use BUG() so we get a UD2 trap (with unreachable annotation). Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Josh Poimboeuf <jpoimboe@kernel.org> Link: https://lore.kernel.org/r/20241128094312.028316261@infradead.org
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions