When I am trying to build rev.212880 - rev.212883, I am getting these errors. Buildling with gcc-4.8.2
Yuri
---- errors ----
llvm[4]: Compiling CommonOptionsParser.cpp for Release build
/xpool/llvm/llvm/tools/clang/lib/CodeGen/BackendUtil.cpp: In function ‘void addAddressSanitizerPasses(const llvm::PassManagerBuilder&, llvm::legacy::PassManagerBase&)’:
/xpool/llvm/llvm/tools/clang/lib/CodeGen/BackendUtil.cpp:187:72: error: too many arguments to function ‘llvm::ModulePass* llvm::createAddressSanitizerModulePass()’
PM.add(createAddressSanitizerModulePass(CGOpts.SanitizerBlacklistFile));
^
In file included from /xpool/llvm/llvm/tools/clang/lib/CodeGen/BackendUtil.cpp:38:0:
/xpool/llvm/llvm/include/llvm/Transforms/Instrumentation.h:68:13: note: declared here
ModulePass *createAddressSanitizerModulePass();
^
/xpool/llvm/llvm/tools/clang/lib/Lex/PTHLexer.cpp: In static member function ‘static clang::PTHManager* clang::PTHManager::Create(const string&, clang::DiagnosticsEngine&)’:
/xpool/llvm/llvm/tools/clang/lib/Lex/PTHLexer.cpp:445:45: error: no matching function for call to ‘llvm::MemoryBuffer::getFile(const string&, std::unique_ptr<llvm::MemoryBuffer>&)’
if (llvm::MemoryBuffer::getFile(file, File)) {
^