mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
DebugInfo: Remove DW_TAG_constant
Remove handling for DW_TAG_constant. We started producing it in r110656, but reverted that in r110876 without dropping the support. Finish the job. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228623 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -254,8 +254,7 @@ bool DIDescriptor::isSubprogram() const {
|
||||
}
|
||||
|
||||
bool DIDescriptor::isGlobalVariable() const {
|
||||
return DbgNode && (getTag() == dwarf::DW_TAG_variable ||
|
||||
getTag() == dwarf::DW_TAG_constant);
|
||||
return DbgNode && getTag() == dwarf::DW_TAG_variable;
|
||||
}
|
||||
|
||||
bool DIDescriptor::isScope() const {
|
||||
|
Reference in New Issue
Block a user