Change keyword to datalayout
authorChris Lattner <sabre@nondot.org>
Sun, 22 Oct 2006 06:06:56 +0000 (06:06 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 22 Oct 2006 06:06:56 +0000 (06:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31107 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/AsmWriter.cpp

index d4a43ce96c64aeee8e580d91d16c5f365d7258ca..58ff971648177cfa0aaee2e67c3ce781cfd42d44 100644 (file)
@@ -783,7 +783,7 @@ void AssemblyWriter::printModule(const Module *M) {
     Out << "; ModuleID = '" << M->getModuleIdentifier() << "'\n";
 
   if (!M->getDataLayout().empty())
-    Out << "target data = \"" << M->getDataLayout() << "\"\n";
+    Out << "target datalayout = \"" << M->getDataLayout() << "\"\n";
 
   switch (M->getEndianness()) {
   case Module::LittleEndian: Out << "target endian = little\n"; break;