GNU frontends don't have options like /MT, /MD etc so it makes little sense.
This fixes a few link error regressions with libc++ and libc++abi
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Saleem, didn't something change here two months ago? Why do we want to bother with all of this dllimport stuff in the frontend? It seems to break mingw and add complexity for very little gain (avoiding linker provided thunks).
Comment Actions
Does this break things for current users of clang as a drop-in replacement for gcc in mingw setups, while using e.g. a gcc provided libstdc++-6.dll? OTOH, removing dllimport usually isn't too much of an issue - the calls go via thunks which is non-ideal and theoretically slower but not much of an issue in practice.
Comment Actions
After trying to build a bit more code with clang and a static libcxx, I agree with this change, so +1 from me. @compnerd ?