[lld] r266367 - Use fully qualified name to refer to LLVMContext
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 14 14:09:10 PDT 2016
Author: mehdi_amini
Date: Thu Apr 14 16:09:10 2016
New Revision: 266367
URL: http://llvm.org/viewvc/llvm-project?rev=266367&view=rev
Log:
Use fully qualified name to refer to LLVMContext
From: Mehdi Amini <mehdi.amini at apple.com>
Modified:
lld/trunk/COFF/InputFiles.cpp
Modified: lld/trunk/COFF/InputFiles.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/InputFiles.cpp?rev=266367&r1=266366&r2=266367&view=diff
==============================================================================
--- lld/trunk/COFF/InputFiles.cpp (original)
+++ lld/trunk/COFF/InputFiles.cpp Thu Apr 14 16:09:10 2016
@@ -320,7 +320,7 @@ void BitcodeFile::parse() {
// Usually parse() is thread-safe, but bitcode file is an exception.
std::lock_guard<std::mutex> Lock(Mu);
- LLVMContext Context;
+ llvm::LLVMContext Context;
ErrorOr<std::unique_ptr<LTOModule>> ModOrErr =
LTOModule::createFromBuffer(Context, MB.getBufferStart(),
MB.getBufferSize(), llvm::TargetOptions());
More information about the llvm-commits
mailing list