[PATCH] D28336: Replace addEarlyAsPossiblePasses callback with adjustPassManager

Steven Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 26 16:51:45 PST 2017


steven-johnson added a comment.

This seems to have broken LLVM builds on Windows if either the NVPTX or Hexagon targets are enabled. You end up with many linker errors of the form

  LLVMNVPTXCodeGen.lib(NVPTXTargetMachine.obj) : error LNK2019: unresolved external symbol "public: void __cdecl llvm::PassManagerBuilder::addExtension(enum llvm::PassManagerBuilder::ExtensionPointTy,class std::function<void __cdecl(class llvm::PassManagerBuilder const &,class llvm::legacy::PassManagerBase &)>)" (?addExtension at PassManagerBuilder@llvm@@QEAAXW4ExtensionPointTy at 12@V?$function@$$A6AXAEBVPassManagerBuilder at llvm@@AEAVPassManagerBase at legacy@2@@Z at std@@@Z) referenced in function "public: virtual void __cdecl llvm::NVPTXTargetMachine::adjustPassManager(class llvm::PassManagerBuilder &)" (?adjustPassManager at NVPTXTargetMachine@llvm@@UEAAXAEAVPassManagerBuilder at 2@@Z) 

(Ditto for Hexagon)


Repository:
  rL LLVM

https://reviews.llvm.org/D28336





More information about the llvm-commits mailing list