================
@@ -567,6 +567,9 @@ DebuggerThread::HandleUnloadDllEvent(const
UNLOAD_DLL_DEBUG_INFO &info,
DWORD
DebuggerThread::HandleODSEvent(const OUTPUT_DEBUG_STRING_INFO &info,
DWORD thread_id) {
+ m_debug_delegate->OnDebugString(
+ llvm::bit_cast<lldb::addr_t>(info.lpDebugStringData),
----------------
charles-zablit wrote:
```suggestion
static_cast<lldb::addr_t>(reinterpret_cast<uintptr_t>(info.lpDebugStringData)),
```
This won't compile on 32 bit (if we are interested in that on Windows still).
`LPSTR` is 4 bytes and `lldb::addr_t` is an `uint64_t`.
https://github.com/llvm/llvm-project/pull/196395
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits