Reflect the fact that empty strings can be expressed as null.
authorJim Laskey <jlaskey@mac.com>
Tue, 14 Mar 2006 18:50:50 +0000 (18:50 +0000)
committerJim Laskey <jlaskey@mac.com>
Tue, 14 Mar 2006 18:50:50 +0000 (18:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26761 91177308-0d34-0410-b5e6-96231b3b80d8

docs/SourceLevelDebugging.html

index 6a3d675080b8ad178977834fd4efebfe889c5735..3cbd64e8529f5a43043a085c2bd8c664f1ba0492 100644 (file)
@@ -1407,14 +1407,13 @@ typedef const int *IntPtr;
 %<a href="#format_derived_type">llvm.dbg.derivedtype2</a> = internal constant %<a href="#format_derived_type">llvm.dbg.derivedtype.type</a> {
     uint 15, 
     {  }* cast (%<a href="#format_compile_units">llvm.dbg.compile_unit.type</a>* %<a href="#format_compile_units">llvm.dbg.compile_unit</a> to {  }*), 
-    sbyte* getelementptr ([1 x sbyte]* %str2, int 0, int 0)
+    sbyte* null
     {  }* null, 
     int 0, 
     uint 32, 
     uint 32, 
     uint 0, 
     {  }* cast (%<a href="#format_derived_type">llvm.dbg.derivedtype.type</a>* %<a href="#format_derived_type">llvm.dbg.derivedtype3</a> to {  }*) }, section "llvm.metadata"
-%str2 = internal constant [1 x sbyte] zeroinitializer, section "llvm.metadata"
 
 ;;
 ;; Define the const type.
@@ -1422,7 +1421,7 @@ typedef const int *IntPtr;
 %<a href="#format_derived_type">llvm.dbg.derivedtype3</a> = internal constant %<a href="#format_derived_type">llvm.dbg.derivedtype.type</a> {
     uint 38, 
     {  }* cast (%<a href="#format_compile_units">llvm.dbg.compile_unit.type</a>* %<a href="#format_compile_units">llvm.dbg.compile_unit</a> to {  }*), 
-    sbyte* getelementptr ([1 x sbyte]* %str2, int 0, int 0)
+    sbyte* null
     {  }* null, 
     int 0, 
     uint 0, 
@@ -1436,14 +1435,14 @@ typedef const int *IntPtr;
 %<a href="#format_basic_type">llvm.dbg.basictype1</a> = internal constant %<a href="#format_basic_type">llvm.dbg.basictype.type</a> {
     uint 36, 
     {  }* cast (%<a href="#format_compile_units">llvm.dbg.compile_unit.type</a>* %<a href="#format_compile_units">llvm.dbg.compile_unit</a> to {  }*), 
-    sbyte* getelementptr ([4 x sbyte]* %str4, int 0, int 0), 
+    sbyte* getelementptr ([4 x sbyte]* %str2, int 0, int 0), 
     {  }* null, 
     int 0, 
     uint 32, 
     uint 32, 
     uint 0, 
     uint 5 }, section "llvm.metadata"
-%str4 = internal constant [4 x sbyte] c"int\00", section "llvm.metadata"
+%str2 = internal constant [4 x sbyte] c"int\00", section "llvm.metadata"
 </pre>
 
 </div>