[PATCH] D107620: [profile] Build with -fms-extensions in MinGW mode

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 15 13:43:35 PDT 2021


nikic added a comment.

>From what I can tell, this only works if clang is used as the compiler. While GCC also supports `-fms-extensions`, it does not support `#pragma comment(linker, ...)`. We're seeing linker errors when linking against a gcc-built profiler runtime on mingw targets.

Is it possible to use the non-`_WIN32` codepath on mingw?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107620/new/

https://reviews.llvm.org/D107620



More information about the llvm-commits mailing list