Add extern template instantiations of llvm::Calculate.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 14 Feb 2014 22:36:16 +0000 (22:36 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 14 Feb 2014 22:36:16 +0000 (22:36 +0000)
commit30616362d3a55592ec12abd7152af370ed1df709
treeb5accf44e246d59d15337baf3f3af15d962afa57
parent867c550947e941d99ffb7b9485f14c787942e7d5
Add extern template instantiations of llvm::Calculate.

This should be a small build time improvement in general and fixes
the build on OS X with -DBUILD_SHARED_LIBS=ON.

The issue is that not all users are including GenericDomTreeConstruction.h,
causing undefined references when ld64 managed to hide the
linkonce_odr symbols.

llvm-svn: 201440
llvm/include/llvm/IR/Dominators.h
llvm/lib/IR/Dominators.cpp