[PATCH] D80833: [CodeView] Add full repro to LF_BUILDINFO record

Ulrich Weigand via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 23 01:32:50 PDT 2020


uweigand added a comment.

> 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.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80833





More information about the cfe-commits mailing list