Why not just make it delay load dll instead of all the LoadLibrary stuff? On Fri, Jun 26, 2015 at 00:07 Leny Kholodov <leny.kholo...@gmail.com> wrote:
> Hi Bigcheese, rnk, zturner, > > This patch changes linkage with dbghlp.dll for clang from static (at load > time) to on demand (at the first use of required functions). Clang uses > dbghlp.dll only in minor use-cases. First of all in case of crash and in > case of plugin load. The dbghlp.dll library can be absent on system. In > this case clang will fail to load. With lazy load of dbghlp.dll clang can > work even if dbghlp.dll is not available. > > REPOSITORY > rL LLVM > > http://reviews.llvm.org/D10737 > > Files: > lib/Support/CMakeLists.txt > lib/Support/Windows/DynamicLibrary.inc > lib/Support/Windows/Signals.inc > tools/llvm-symbolizer/LLVMSymbolize.cpp > > EMAIL PREFERENCES > http://reviews.llvm.org/settings/panel/emailpreferences/ >
_______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits