http://llvm.org/bugs/show_bug.cgi?id=22779
Bug ID: 22779
Summary: Split DI/MDLocalVariable into ArgumentVariable
AutoVariable (and kill the fake DW_TAGs)
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Core LLVM classes
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Blocks: 21432
Classification: Unclassified
`MDLocalVariable` doesn't use `DW_TAG_variable`, even though that's the
appropriate DWARF tag. Instead, it uses `DW_TAG_auto_variable` and
`DW_TAG_arg_variable` as discriminators to determine the type of local
variable.
Since bug 22464, we have a better discriminator: `Metadata::getMetadataID()` --
i.e., we should just split these into two subclasses. This will also drop the
`tag:` field from assembly. In the process, we can drop the `arg:` field from
non-argument variables (I don't think it was ever used, but it was possible to
set it).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs