[all-commits] [llvm/llvm-project] 1cc5d2: [lldb] Fix DW_OP_convert type handling (#208435)
firmiana402 via All-commits
all-commits at lists.llvm.org
Fri Jul 10 00:40:14 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1cc5d2cf0faba66b30d9a68735006ed3e9742fc7
https://github.com/llvm/llvm-project/commit/1cc5d2cf0faba66b30d9a68735006ed3e9742fc7
Author: firmiana402 <firmiana402 at gmail.com>
Date: 2026-07-10 (Fri, 10 Jul 2026)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
M lldb/unittests/Expression/DWARFExpressionTest.cpp
Log Message:
-----------
[lldb] Fix DW_OP_convert type handling (#208435)
This PR fixes #208197
A nonzero DW_OP_convert operand must reference a DW_TAG_base_type DIE.
LLDB previously accepted any DIE that happened to carry base-type-like
size and encoding attributes. This patch rejects non-base-type DIEs
before using them as DW_OP_convert target types.
## Tests
Extended DWARFExpression.DW_OP_convert coverage to verify:
- non-DW_TAG_base_type DIEs are rejected as DW_OP_convert target types;
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