llvm-capstone/lldb
Michael Buch 3a35ca01fc
[lldb][DWARFASTParserClang][NFCI] Extract DW_AT_data_member_location calculation logic (#68231)
Currently this non-trivial calculation is repeated multiple times,
making it hard to reason about when the
`byte_offset`/`member_byte_offset` is being set or not.

This patch simply moves all those instances of the same calculation into
a helper function.

We return an optional to remain an NFC patch. Default initializing the
offset would make sense but requires further analysis and can be done in
a follow-up patch.
2023-10-05 10:49:42 +01:00
..
bindings Reland "[lldb] Add 'modify' type watchpoints, make it default (#66308)" 2023-09-21 10:35:15 +00:00
cmake [lldb] Add windows support for LLDB_EXPORT_ALL_SYMBOLS (#67628) 2023-09-29 10:33:11 -07:00
docs [lldb][Docs] Fix typo in style docs 2023-09-20 08:04:23 +00:00
examples Implement data formatters for LibStdC++ std::variant (#68012) 2023-10-02 17:46:41 -07:00
include [lldb] Mark operator== const to avoid ambiguity in C++20. (#68224) 2023-10-04 09:04:13 -07:00
packages/Python/lldbsuite [lldb] Expose Platform::Attach through the SB API (#68050) 2023-10-03 10:34:00 -07:00
resources
scripts [lldb][windows] Cover more symbols in LLDB_EXPORT_ALL_SYMBOLS 2023-09-30 16:06:19 -07:00
source [lldb][DWARFASTParserClang][NFCI] Extract DW_AT_data_member_location calculation logic (#68231) 2023-10-05 10:49:42 +01:00
test [lldb][test] Skip platform attach test on Windows 2023-10-04 12:46:35 +00:00
third_party/Python/module [lldb] Remove use of __future__ in python 2023-08-14 14:14:48 -07:00
tools [lldb] [debugserver] Add spaces between sentences in a CMake warning. NFC. 2023-10-04 14:34:12 +03:00
unittests [LLDB] Attempt to fix DumpDataExtractorTest 2023-09-18 22:02:05 +00:00
utils [llvm][tblgen] Add Source Filename for emitSourceFileHeader (#65744) 2023-09-26 13:40:56 +08:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt
CodeOwners.rst [lldb] Update LLDB Code Ownership 2023-08-08 08:54:03 -07:00
LICENSE.TXT
use_lldb_suite_root.py [lldb] Format more Python files with black (#65979) 2023-09-12 08:46:34 +01:00