Sort out mangled names for globals

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30460 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2006-09-18 14:47:26 +00:00
parent 4af90abc13
commit e85fb6719a
2 changed files with 27 additions and 14 deletions

View File

@@ -622,6 +622,9 @@ public:
}
void setIsStatic(bool IS) { IsStatic = IS; }
void setIsDefinition(bool ID) { IsDefinition = ID; }
bool hasMangledName() const {
return !DisplayName.empty();
}
/// ApplyToFields - Target the visitor to the fields of the GlobalDesc.
///