diff options
author | Eric Christopher <echristo@gmail.com> | 2015-08-05 23:48:05 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2015-08-05 23:48:05 +0000 |
commit | 964a5f3b5c65ba72d4f5e57cba65582c39bdae70 (patch) | |
tree | 93db0eb58a1bac242b91fd45d39104f94c6da879 /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | |
parent | d46369d8b3ac989855f76798d25feac790388870 (diff) | |
download | bcm5719-llvm-964a5f3b5c65ba72d4f5e57cba65582c39bdae70.tar.gz bcm5719-llvm-964a5f3b5c65ba72d4f5e57cba65582c39bdae70.zip |
Rename DescriptionString -> DataLayoutString as it matches the actual
use of the string.
llvm-svn: 244178
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
-rw-r--r-- | clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp index 629cac13428..e09b2857a37 100644 --- a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp +++ b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp @@ -74,7 +74,7 @@ public: Ctx = &Context; VMContext.reset(new llvm::LLVMContext()); M.reset(new llvm::Module(MainFileName, *VMContext)); - M->setDataLayout(Ctx->getTargetInfo().getTargetDescription()); + M->setDataLayout(Ctx->getTargetInfo().getDataLayoutString()); Builder.reset(new CodeGen::CodeGenModule( *Ctx, HeaderSearchOpts, PreprocessorOpts, CodeGenOpts, *M, Diags)); } @@ -91,7 +91,7 @@ public: return; M->setTargetTriple(Ctx.getTargetInfo().getTriple().getTriple()); - M->setDataLayout(Ctx.getTargetInfo().getTargetDescription()); + M->setDataLayout(Ctx.getTargetInfo().getDataLayoutString()); // Finalize the Builder. if (Builder) @@ -132,7 +132,7 @@ public: llvm::SmallString<0> Buffer; llvm::raw_svector_ostream OS(Buffer); clang::EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, - Ctx.getTargetInfo().getTargetDescription(), + Ctx.getTargetInfo().getDataLayoutString(), M.get(), BackendAction::Backend_EmitLL, &OS); OS.flush(); llvm::dbgs() << Buffer; @@ -140,7 +140,7 @@ public: // Use the LLVM backend to emit the pch container. clang::EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, - Ctx.getTargetInfo().getTargetDescription(), + Ctx.getTargetInfo().getDataLayoutString(), M.get(), BackendAction::Backend_EmitObj, OS); // Make sure the pch container hits disk. |