From 964a5f3b5c65ba72d4f5e57cba65582c39bdae70 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 5 Aug 2015 23:48:05 +0000 Subject: Rename DescriptionString -> DataLayoutString as it matches the actual use of the string. llvm-svn: 244178 --- clang/lib/CodeGen/ModuleBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp') diff --git a/clang/lib/CodeGen/ModuleBuilder.cpp b/clang/lib/CodeGen/ModuleBuilder.cpp index 0578823..b73d332 100644 --- a/clang/lib/CodeGen/ModuleBuilder.cpp +++ b/clang/lib/CodeGen/ModuleBuilder.cpp @@ -98,7 +98,7 @@ namespace { Ctx = &Context; M->setTargetTriple(Ctx->getTargetInfo().getTriple().getTriple()); - M->setDataLayout(Ctx->getTargetInfo().getTargetDescription()); + M->setDataLayout(Ctx->getTargetInfo().getDataLayoutString()); Builder.reset(new CodeGen::CodeGenModule(Context, HeaderSearchOpts, PreprocessorOpts, CodeGenOpts, *M, Diags, CoverageInfo)); -- cgit v1.1