[all-commits] [llvm/llvm-project] 439b16: [LLDB] Respect the DW_AT_alignment attribute. (#73...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Tue Nov 28 03:28:08 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 439b16e2b369a0e3d482597b2c6597ce187e65f9
https://github.com/llvm/llvm-project/commit/439b16e2b369a0e3d482597b2c6597ce187e65f9
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2023-11-28 (Tue, 28 Nov 2023)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
M lldb/test/API/lang/cpp/alignas_base_class/TestAlignAsBaseClass.py
M lldb/test/API/lang/cpp/alignas_base_class/main.cpp
Log Message:
-----------
[LLDB] Respect the DW_AT_alignment attribute. (#73307)
Part of fixes for #72913.
clang emits `DW_AT_alignment` attribute, however LLDB didn't respect it,
resulting in incorrect RecordDecls built by lldb.
This only fixes non-inheritance cases. The inheritance case will be
handled in a follow-up patch.
More information about the All-commits
mailing list