[llvm-dev] Building For x64 Windows using LLVM
Reid Kleckner via llvm-dev
llvm-dev at lists.llvm.org
Thu Oct 10 13:36:49 PDT 2019
clang-cl recognizes -mllvm, so it shouldn't need escaping.
And in general, if you find that clang-cl does not recognize a flag, I
recommend prefixing it with -clang:, which causes clang to treat it as a
GCC-style option in the driver instead of escaping it. The short version
is, use /clang:-fblah instead of -Xclang -fblah if possible.
On Thu, Oct 10, 2019 at 1:34 PM Osman Zakir <osmanzakir90 at hotmail.com>
> Thanks for the reply. Is "-Xclang -mllvm" fine, or should I remove the
> "-Xclang" from here as well?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev