[PDB] Attempt fix for debug-info-codeview-buildinfo.c test

This is a bit a shot in the dark, as it doesn't occur on my Windows 10 machines, nor on x64 Linux Ubuntu 18.04.
This patch tries to fix the following kind of error:
- http://lab.llvm.org:8011/builders/clang-ppc64le-linux/builds/31511/steps/cmake%20stage%201/logs/stdio
- http://lab.llvm.org:8011/builders/clang-ppc64le-linux-lnt/builds/25150/steps/ninja%20check%201/logs/FAIL%3A%20Clang%3A%3Adebug-info-codeview-buildinfo.c
- http://lab.llvm.org:8011/builders/fuchsia-x86_64-linux/builds/7947/steps/check/logs/stdio
This commit is contained in:
Alexandre Ganea 2020-07-10 18:52:19 -04:00
parent 7bf73bcf6d
commit 41d2813a5f
5 changed files with 6 additions and 3 deletions

View File

@ -31,6 +31,7 @@ set(LLVM_TOOLCHAIN_TOOLS
llvm-dwarfdump
llvm-nm
llvm-objdump
llvm-pdbutil
llvm-ranlib
llvm-readobj
llvm-size

View File

@ -137,6 +137,7 @@ set(LLVM_TOOLCHAIN_TOOLS
llvm-lib
llvm-nm
llvm-objdump
llvm-pdbutil
llvm-profdata
llvm-ranlib
llvm-readobj

View File

@ -240,6 +240,7 @@ set(LLVM_TOOLCHAIN_TOOLS
llvm-nm
llvm-objcopy
llvm-objdump
llvm-pdbutil
llvm-profdata
llvm-ranlib
llvm-readelf

View File

@ -126,6 +126,7 @@ if( NOT CLANG_BUILT_STANDALONE )
llvm-nm
llvm-objcopy
llvm-objdump
llvm-pdbutil
llvm-profdata
llvm-readelf
llvm-readobj

View File

@ -1,7 +1,6 @@
// UNSUPPORTED: s390x
// RUN: %clang_cl /c /Z7 /Fo%t.obj -- %s
// RUN: %clang_cl --target=i686-windows-msvc /c /Z7 /Fo%t.obj -- %s
// RUN: llvm-pdbutil dump --types %t.obj | FileCheck %s
// RUN: %clang_cl /c /Z7 /Fo%t.obj -fdebug-compilation-dir . -- %s
// RUN: %clang_cl --target=i686-windows-msvc /c /Z7 /Fo%t.obj -fdebug-compilation-dir=. -- %s
// RUN: llvm-pdbutil dump --types %t.obj | FileCheck %s --check-prefix RELATIVE
int main() { return 42; }