[all-commits] [llvm/llvm-project] a4d786: [lldb][ARM] Support thread local variables on ARM ...
Igor Kudrin via All-commits
all-commits at lists.llvm.org
Mon Mar 2 12:51:05 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a4d786630c4757ce91aef65fc2744fbde650632d
https://github.com/llvm/llvm-project/commit/a4d786630c4757ce91aef65fc2744fbde650632d
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2026-03-02 (Mon, 02 Mar 2026)
Changed paths:
M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp
M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.h
M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
M lldb/test/API/lang/c/tls_globals/TestTlsGlobals.py
M llvm/docs/ReleaseNotes.md
Log Message:
-----------
[lldb][ARM] Support thread local variables on ARM Linux (#181315)
Currently, `DynamicLoaderPOSIXDYLD::GetThreadLocalData()` only supports
the TLS memory layout where the thread pointer register points to the
start of the `pthread` structure, and the address of the DTV pointer can
be calculated by adding the offset of the `dtv` field to `tp`. On ARM
(and AArch64), the thread pointer points directly to `dtv`. The patch
improves the detection of the actual memory layout in the method and
adjusts the calculations for the new case, thus adding support for
thread-local variables on ARM Linux.
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