[all-commits] [llvm/llvm-project] 8aea95: [lldb] Reland "Use translated full ftag values"

Michał Górny via All-commits all-commits at lists.llvm.org
Sat Nov 21 08:40:08 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8aea95f3cb4ef72cc9146ca5a01af15f036acd19
      https://github.com/llvm/llvm-project/commit/8aea95f3cb4ef72cc9146ca5a01af15f036acd19
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2020-11-21 (Sat, 21 Nov 2020)

  Changed paths:
    M lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp
    M lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
    M lldb/source/Plugins/Process/Utility/CMakeLists.txt
    A lldb/source/Plugins/Process/Utility/RegisterContext_x86.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContext_x86.h
    M lldb/test/API/commands/register/register/register_command/TestRegisters.py
    M lldb/test/Shell/Register/x86-64-fp-read.test
    M lldb/test/Shell/Register/x86-64-fp-write.test
    M lldb/test/Shell/Register/x86-fp-read.test
    M lldb/test/Shell/Register/x86-fp-write.test
    M lldb/unittests/Process/Utility/CMakeLists.txt
    A lldb/unittests/Process/Utility/RegisterContextTest.cpp

  Log Message:
  -----------
  [lldb] Reland "Use translated full ftag values"

Translate between abridged and full ftag values in order to expose
the latter in the gdb-remote protocol while the former are used by
FXSAVE/XSAVE...  This matches the gdb behavior.

The Shell/Register tests now rely on the new behavior, and therefore
are run on non-Darwin systems only.  The Python (API) test relies
on the legacy behavior, and is run on Darwin only.

Differential Revision: https://reviews.llvm.org/D91504




More information about the All-commits mailing list