mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
DebugInfo: Drop fake DW_TAG_expression
Break MDExpression off of DebugNode (inherit directly from `MDNode`) and drop the fake `DW_TAG_expression` tag in the process. AFAICT, there's no real functionality change here. The tag was originally used by `DIDescriptor::isExpression()` to discriminate between `MDNode`s, but in the new hierarchy we don't need that. Fixes PR22780. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232550 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -102,7 +102,6 @@ HANDLE_DW_TAG(0x0043, template_alias)
|
||||
// Mock tags we use as discriminators.
|
||||
HANDLE_DW_TAG(0x0100, auto_variable) // Tag for local (auto) variables.
|
||||
HANDLE_DW_TAG(0x0101, arg_variable) // Tag for argument variables.
|
||||
HANDLE_DW_TAG(0x0102, expression) // Tag for complex address expressions.
|
||||
|
||||
// New in DWARF v5.
|
||||
HANDLE_DW_TAG(0x0044, coarray_type)
|
||||
|
Reference in New Issue
Block a user