[all-commits] [llvm/llvm-project] 7de82c: [BOLT] Don't terminate on trap instruction for Lin...
Maksim Panchenko via All-commits
all-commits at lists.llvm.org
Fri Mar 29 16:41:37 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7de82ca369b5e9114636420a16e1c5d25283421d
https://github.com/llvm/llvm-project/commit/7de82ca369b5e9114636420a16e1c5d25283421d
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-03-29 (Fri, 29 Mar 2024)
Changed paths:
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Core/MCPlusBuilder.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
M bolt/test/X86/linux-bug-table.s
Log Message:
-----------
[BOLT] Don't terminate on trap instruction for Linux kernel (#87021)
Under normal circumstances, we terminate basic blocks on a trap
instruction. However, Linux kernel may resume execution after hitting a
trap (ud2 on x86). Thus, we introduce "--terminal-trap" option that will
specify if the trap instruction should terminate the control flow. The
option is on by default except for the Linux kernel mode when it's off.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list