kkcode0 updated this revision to Diff 496654. kkcode0 added a comment. added comments
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143698/new/ https://reviews.llvm.org/D143698 Files: lldb/include/lldb/Target/RegisterContext.h Index: lldb/include/lldb/Target/RegisterContext.h =================================================================== --- lldb/include/lldb/Target/RegisterContext.h +++ lldb/include/lldb/Target/RegisterContext.h @@ -37,6 +37,13 @@ virtual lldb::ByteOrder GetByteOrder(); + /// Retrieves the per-thread data area. + /// Most OSs maintain a per-thread pointer (e.g. the FS register on + /// x64), which we return the value of here. + /// + /// \return + /// LLDB_INVALID_ADDRESS if not supported, otherwise the thread + /// pointer value. virtual uint64_t GetThreadPointer(); virtual bool ReadRegister(const RegisterInfo *reg_info,
Index: lldb/include/lldb/Target/RegisterContext.h =================================================================== --- lldb/include/lldb/Target/RegisterContext.h +++ lldb/include/lldb/Target/RegisterContext.h @@ -37,6 +37,13 @@ virtual lldb::ByteOrder GetByteOrder(); + /// Retrieves the per-thread data area. + /// Most OSs maintain a per-thread pointer (e.g. the FS register on + /// x64), which we return the value of here. + /// + /// \return + /// LLDB_INVALID_ADDRESS if not supported, otherwise the thread + /// pointer value. virtual uint64_t GetThreadPointer(); virtual bool ReadRegister(const RegisterInfo *reg_info,
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits