[LLVMbugs] [Bug 22779] New: Split DI/MDLocalVariable into ArgumentVariable AutoVariable (and kill the fake DW_TAGs)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Mar 3 16:52:38 PST 2015
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: unassignedbugs at nondot.org
Reporter: dexonsmith at apple.com
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150304/09a9ba47/attachment.html>
More information about the llvm-bugs
mailing list