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)
commitd4762e88fd43fca789ed2016305bd88eb3179aa9
treeed957c2073525497a4044b96b7dac6a8fe4c1467
parent038600b42eae3c09fa14c8ab6e4720bcca702dde
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201440 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Dominators.h
lib/IR/Dominators.cpp