author | David Blaikie <dblaikie@gmail.com> | |
Fri, 14 Mar 2014 20:36:44 +0000 (20:36 +0000) | ||
committer | David Blaikie <dblaikie@gmail.com> | |
Fri, 14 Mar 2014 20:36:44 +0000 (20:36 +0000) | ||
commit | c75ec15881f0b86b4c104c404d307f85087a1de7 | |
tree | 3be8c96727fe9785dce28dac35733794a53ac134 | tree | snapshot (tar.xz tar.gz zip) |
parent | 19f2fea4614de01f159dc2337a3aae32f023250c | commit | diff |
MCDwarf: Initialize MCLineTableHeader::Label
This sometimes remains null into MCLineTableHeader::Emit where we
conditionally construct a label if one isn't provided for us. We need it
to remain null (rather than just always constructing the label) so we
can identify unused line tables... which is a bit weird and maybe we can
do away with that logic one day (& on that day we can always construct
the label up-front and just have compilation units query the line table
for its label, etc)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203967 91177308-0d34-0410-b5e6-96231b3b80d8
This sometimes remains null into MCLineTableHeader::Emit where we
conditionally construct a label if one isn't provided for us. We need it
to remain null (rather than just always constructing the label) so we
can identify unused line tables... which is a bit weird and maybe we can
do away with that logic one day (& on that day we can always construct
the label up-front and just have compilation units query the line table
for its label, etc)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203967 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCDwarf.h | diff | blob | history |