[llvm-commits] CVS: llvm/lib/Bytecode/Writer/Writer.cpp
Reid Spencer
reid at x10sys.com
Thu Jan 18 15:24:40 PST 2007
Changes in directory llvm/lib/Bytecode/Writer:
Writer.cpp updated: 1.150 -> 1.151
---
Log message:
For PR761: http://llvm.org/PR761 :
Implement reading and writing of the Module's data layout string.
---
Diffs of the changes: (+3 -0)
Writer.cpp | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/Bytecode/Writer/Writer.cpp
diff -u llvm/lib/Bytecode/Writer/Writer.cpp:1.150 llvm/lib/Bytecode/Writer/Writer.cpp:1.151
--- llvm/lib/Bytecode/Writer/Writer.cpp:1.150 Sun Jan 14 20:27:26 2007
+++ llvm/lib/Bytecode/Writer/Writer.cpp Thu Jan 18 17:24:24 2007
@@ -1090,6 +1090,9 @@
// Output the target triple from the module
output(M->getTargetTriple());
+
+ // Output the data layout from the module
+ output(M->getDataLayout());
// Emit the table of section names.
output_vbr((unsigned)SectionNames.size());
More information about the llvm-commits
mailing list