[PATCH] D20136: Get default -fms-compatibility-version from cl.exe's version

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 9 16:20:46 PST 2017


rnk added a comment.

In https://reviews.llvm.org/D20136#640689, @amccarth wrote:

> > and folks have to manually add mincore.lib to their link.
>
> I could load the library dynamically on demand and use GetProcAddress, but I suspect that would further degrade the performance.  I could probably write my own code to find the version in the binary, but I doubt that crosses the reward/work threshold.


`#pragma comment(lib, "mincore")`, maybe?


Repository:
  rL LLVM

https://reviews.llvm.org/D20136





More information about the cfe-commits mailing list