[llvm-commits] CVS: llvm/include/llvm/Target/TargetData.h

Owen Anderson resistor at mac.com
Sat Jan 20 15:07:29 PST 2007



Changes in directory llvm/include/llvm/Target:

TargetData.h updated: 1.44 -> 1.45
---
Log message:

TargetData assumes (and some regression tests depend on it) that the size of
an unspecified datatype in the datalayout is capped by the size of a pointer.


---
Diffs of the changes:  (+2 -1)

 TargetData.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/Target/TargetData.h
diff -u llvm/include/llvm/Target/TargetData.h:1.44 llvm/include/llvm/Target/TargetData.h:1.45
--- llvm/include/llvm/Target/TargetData.h:1.44	Sat Jan 20 16:35:55 2007
+++ llvm/include/llvm/Target/TargetData.h	Sat Jan 20 17:07:13 2007
@@ -70,7 +70,8 @@
   /// Constructs a TargetData from a string of the following format:
   /// "E-p:64:64-d:64-f:32-l:64-i:32-s:16-b:8-B:8"
   /// The above string is considered the default, and any values not specified
-  /// in the string will be assumed to be as above.
+  /// in the string will be assumed to be as above, with the caveat that unspecified
+  /// values are always assumed to be smaller than the size of a pointer.
   TargetData(const std::string &TargetDescription) {
     init(TargetDescription);
   }






More information about the llvm-commits mailing list