[all-commits] [llvm/llvm-project] 4d7339: [lldb] Fix a circular include dependency (NFC) (#1...
Sergei Barannikov via All-commits
all-commits at lists.llvm.org
Mon Mar 30 08:46:00 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4d7339a14df8519b48f236ea5d6439d04f00eec2
https://github.com/llvm/llvm-project/commit/4d7339a14df8519b48f236ea5d6439d04f00eec2
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2026-03-30 (Mon, 30 Mar 2026)
Changed paths:
M lldb/include/lldb/Interpreter/OptionArgParser.h
M lldb/include/lldb/lldb-private-types.h
M lldb/source/Plugins/Process/Utility/RegisterContextWindows_i386.cpp
M lldb/source/Plugins/Process/Utility/RegisterContextWindows_x86_64.cpp
M lldb/unittests/Utility/ArchSpecTest.cpp
Log Message:
-----------
[lldb] Fix a circular include dependency (NFC) (#188931)
`lldb-private-types.h` includes `lldb-private.h`, which in turn includes
`lldb-private-types.h`. Because of that, `lldb-public.h` included by
`lldb-private.h` after `lldb-private-types.h` is not actually included.
The practical consequence of this is that types defined in
`lldb-public-types.h` (for example, `addr_t` needed downstream) are not
available in `lldb-private-types.h`.
Fix this by "including what you use", which is `lldb-types.h`.
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