[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineDebugInfo.h

Jim Laskey jlaskey at apple.com
Mon Sep 18 07:47:44 PDT 2006



Changes in directory llvm/include/llvm/CodeGen:

MachineDebugInfo.h updated: 1.38 -> 1.39
---
Log message:

Sort out mangled names for globals

---
Diffs of the changes:  (+3 -0)

 MachineDebugInfo.h |    3 +++
 1 files changed, 3 insertions(+)


Index: llvm/include/llvm/CodeGen/MachineDebugInfo.h
diff -u llvm/include/llvm/CodeGen/MachineDebugInfo.h:1.38 llvm/include/llvm/CodeGen/MachineDebugInfo.h:1.39
--- llvm/include/llvm/CodeGen/MachineDebugInfo.h:1.38	Tue Jul 11 10:58:09 2006
+++ llvm/include/llvm/CodeGen/MachineDebugInfo.h	Mon Sep 18 09:47:26 2006
@@ -622,6 +622,9 @@
   }
   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.
   ///






More information about the llvm-commits mailing list