LLDB  mainline
Public Attributes | List of all members
lldb_private::process_linux::NativeRegisterContextLinux::SyscallData Struct Reference

#include <NativeRegisterContextLinux.h>

Collaboration diagram for lldb_private::process_linux::NativeRegisterContextLinux::SyscallData:
Collaboration graph
[legend]

Public Attributes

llvm::ArrayRef< uint8_t > Insn
 The syscall instruction. More...
 
llvm::ArrayRef< uint32_tArgs
 Registers used for syscall arguments. More...
 
uint32_t Result
 Register containing the syscall result. More...
 

Detailed Description

Definition at line 36 of file NativeRegisterContextLinux.h.

Member Data Documentation

◆ Args

llvm::ArrayRef<uint32_t> lldb_private::process_linux::NativeRegisterContextLinux::SyscallData::Args

Registers used for syscall arguments.

The first register is used to store the syscall number.

Definition at line 44 of file NativeRegisterContextLinux.h.

Referenced by lldb_private::process_linux::NativeProcessLinux::Syscall().

◆ Insn

llvm::ArrayRef<uint8_t> lldb_private::process_linux::NativeRegisterContextLinux::SyscallData::Insn

The syscall instruction.

If the architecture uses software single-stepping, the instruction should also be followed by a trap to ensure the process is stopped after the syscall.

Definition at line 40 of file NativeRegisterContextLinux.h.

Referenced by lldb_private::process_linux::NativeProcessLinux::Syscall().

◆ Result

uint32_t lldb_private::process_linux::NativeRegisterContextLinux::SyscallData::Result

Register containing the syscall result.

Definition at line 46 of file NativeRegisterContextLinux.h.

Referenced by lldb_private::process_linux::NativeProcessLinux::Syscall().


The documentation for this struct was generated from the following file: