[all-commits] [llvm/llvm-project] ac12df: [lldb] Truncate an over-wide symbol address in the...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Fri Jul 17 14:27:50 PDT 2026
Branch: refs/heads/users/JDevlieghere/lldb-gdb-packet-history-diagnostics
Home: https://github.com/llvm/llvm-project
Commit: ac12dff018f9ae8a144aa7cf4898f6245a1460f5
https://github.com/llvm/llvm-project/commit/ac12dff018f9ae8a144aa7cf4898f6245a1460f5
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2026-07-17 (Fri, 17 Jul 2026)
Changed paths:
M lldb/source/Expression/IRInterpreter.cpp
Log Message:
-----------
[lldb] Truncate an over-wide symbol address in the IR interpreter
IRInterpreter::ResolveConstantValue built a pointer-width APInt directly
from the address returned by FindSymbol. That address can be wider than a
target pointer, because lldb records extra information in the high bits on
some targets, such as the code/memory address-space tag on WebAssembly.
A 32-bit pointer then cannot hold the tagged address and the APInt
constructor asserts, aborting the debugger when a function-valued
expression is evaluated (for example `expr main`).
Truncate to the pointer width instead of asserting, matching the idiom
already used in DWARFExpression. On targets whose addresses fit in a
pointer this is a no-op.
Commit: 0978d943dfd80c0fb8a797434a2d9f7157c06fc2
https://github.com/llvm/llvm-project/commit/0978d943dfd80c0fb8a797434a2d9f7157c06fc2
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2026-07-17 (Fri, 17 Jul 2026)
Changed paths:
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
M lldb/unittests/Process/gdb-remote/CMakeLists.txt
A lldb/unittests/Process/gdb-remote/ProcessGDBRemoteTest.cpp
Log Message:
-----------
[lldb] Contribute the GDB-remote packet history to diagnostics bundles
Register a Diagnostics artifact provider from ProcessGDBRemote so a
diagnostics bundle captures the GDB-remote packet history, the same data
"process plugin packet history" prints.
Commit: 3161bf16c31269908a2b9cdd6011a3be09f65e6d
https://github.com/llvm/llvm-project/commit/3161bf16c31269908a2b9cdd6011a3be09f65e6d
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2026-07-17 (Fri, 17 Jul 2026)
Changed paths:
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/unittests/Process/gdb-remote/ProcessGDBRemoteTest.cpp
Log Message:
-----------
Use timetamp
Compare: https://github.com/llvm/llvm-project/compare/8d9a772aabaf...3161bf16c312
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list