[llvm-dev] Linker failures in debug build - compiler/linker poll?

Rafael EspĂ­ndola via llvm-dev llvm-dev at lists.llvm.org
Mon Jun 20 05:55:42 PDT 2016

> In any case, I noticed this morning that somebody else fixed it in the other
> way that I had in mind, which is including LoopPassManager.h in
> LoopPass.cpp.

Including LoopPassManager.h in LoopPass.cpp fixes the problem for you?
I think that is the correct fix. I am not sure if c++ requires that an
extern template be visible in all translation units if it is visible
in one, but -fvisibility-inline-hidden is know to not be fully
standards compliant.


More information about the llvm-dev mailing list