Skip to content
Commit d3718f1e authored by Sameer Sahasrabuddhe's avatar Sameer Sahasrabuddhe
Browse files

[LLVM] remove extern template declarations of GenericCycleInfo

Having an extern template declaration prevents implicit instantiation of
templates, which causes linker errors when building with shared libraries. For
example, the sources in libAnalysis do not contain any explicit instantiation of
the CycleInfo, which is a specialization of GenericCycleInfo. Thus, any calls to
functions defined in the body of GenericCycleInfo produce undefined references.
The absence of any extern template declaration allows a local instance of these
functions to be created.
parent 21aa8a22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment