aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2020-03-02 13:21:53 -0800
committerPhilip Reames <listmail@philipreames.com>2020-03-02 14:40:25 -0800
commit7049cf6496c9aa8e355345a3fbea30861e4d2da8 (patch)
treed56252823a37d4e1bebb5d07d5b740e6f76e28fd /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent9897daa6bfcce044473f63e12492ec7748e8eb62 (diff)
downloadllvm-7049cf6496c9aa8e355345a3fbea30861e4d2da8.zip
llvm-7049cf6496c9aa8e355345a3fbea30861e4d2da8.tar.gz
llvm-7049cf6496c9aa8e355345a3fbea30861e4d2da8.tar.bz2
[BranchAlign] Fix bug w/nop padding for SS manipulation
X86 has several instructions which are documented as enabling interrupts exactly one instruction *after* the one which changes the SS segment register. Inserting a nop between these two instructions allows an interrupt to arrive before the execution of the following instruction which changes semantic behaviour. The list of instructions is documented in "Table 24-3. Format of Interruptibility State" in Volume 3c of the Intel manual. They basically all come down to different ways to write to the SS register. Differential Revision: https://reviews.llvm.org/D75359
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions