aganea added a comment.

In D80833#2108423 <https://reviews.llvm.org/D80833#2108423>, @uweigand wrote:

> > Line 4 here fails on s390x but not on other Unix flavors, see: 
> > http://lab.llvm.org:8011/builders/clang-s390x-linux/builds/33346/steps/ninja%20check%201/logs/FAIL%3A%20Clang%3A%3Adebug-info-codeview-buildinfo.c
> > 
> > @thakis @uweigand Any ideas would could go wrong here?
>
> Well, when I try it, the compile command is creating a **native** format 
> object file, in this case a 64-bit big-endian s390x ELF file, and that format 
> is not recognized by llvm-pdbutil.  Not sure why this wouldn't fail the same 
> way on any other non-Windows target, though.
>
> I guess it should work if you pass the appropriate --target option to the 
> compiler to force creation of a Windows object file.


Thanks for getting back! That was my suspicion. I initially thought that using 
clang-cl would automatically target windows-msvc, but it seems that's not the 
case, I'll add it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80833



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to