diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-09-18 14:47:26 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-09-18 14:47:26 +0000 |
commit | e85fb6719a3cdd011359b9cdee27a175bfe5baf7 (patch) | |
tree | 516416c382275da2c7a6f273895b55f0c887207b /include/llvm/CodeGen/MachineDebugInfo.h | |
parent | 4af90abc13a7406efdb3f2261fce8ecd7d38bbd7 (diff) |
Sort out mangled names for globals
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30460 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineDebugInfo.h')
-rw-r--r-- | include/llvm/CodeGen/MachineDebugInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineDebugInfo.h b/include/llvm/CodeGen/MachineDebugInfo.h index 17d28d8c7b..c02eaf7224 100644 --- a/include/llvm/CodeGen/MachineDebugInfo.h +++ b/include/llvm/CodeGen/MachineDebugInfo.h @@ -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. /// |