[Lldb-commits] [PATCH] D54009: Refactor LLDB lit configuration files

Aleksandr Urakov via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 12 08:58:50 PST 2018


aleksandr.urakov added a comment.

I also have some strange failures on Windows x86 (I run tests from x64_86 MSVC command line). If I locally revert this commit and 3 fix commits right after this one, then all seems to work. Here is the failure:

  C:\Work\llvm\build_x86\bin>llvm-lit.py -v C:\Work\llvm\tools\lldb\lit\SymbolFile\PDB\enums-layout.test
  llvm-lit.py: C:/Work/llvm\utils\lit\lit\llvm\config.py:333: note: using C:/Work/llvm/build_x86/./bin/clang.exe: C:\Work\llvm\build_x86\bin\clang.exe
  llvm-lit.py: C:/Work/llvm\utils\lit\lit\llvm\config.py:333: note: using C:/Work/llvm/build_x86/./bin/clang++.exe: C:\Work\llvm\build_x86\bin\clang++.exe
  config.cc = C:\Work\llvm\build_x86\bin\clang.exe
  -- Testing: 1 tests, 1 threads --
  FAIL: LLDB :: SymbolFile/PDB/enums-layout.test (1 of 1)
  ******************** TEST 'LLDB :: SymbolFile/PDB/enums-layout.test' FAILED ********************
  Script:
  --
  : 'RUN: at line 2';   clang-cl -m32 /Z7 /c /GS- C:\Work\llvm\tools\lldb\lit\SymbolFile\PDB/Inputs/SimpleTypesTest.cpp /o C:\Work\llvm\build_x86\tools\lldb\lit\SymbolFile\PDB\Output/SimpleTypesTest.cpp.enums.obj
  : 'RUN: at line 3';   link C:\Work\llvm\build_x86\tools\lldb\lit\SymbolFile\PDB\Output/SimpleTypesTest.cpp.enums.obj /DEBUG /nodefaultlib /ENTRY:main /OUT:C:\Work\llvm\build_x86\tools\lldb\lit\SymbolFile\PDB\Output/SimpleTypesTest.cpp.enums.exe
  : 'RUN: at line 4';   C:\Work\llvm\build_x86\bin\lldb-test.EXE symbols C:\Work\llvm\build_x86\tools\lldb\lit\SymbolFile\PDB\Output/SimpleTypesTest.cpp.enums.exe | C:\Work\llvm\build_x86\bin\FileCheck.EXE C:\Work\llvm\tools\lldb\lit\SymbolFile\PDB\enums-layout.test
  --
  Exit Code: 1
  
  Command Output (stdout):
  --
  $ ":" "RUN: at line 2"
  $ "clang-cl" "-m32" "/Z7" "/c" "/GS-" "C:\Work\llvm\tools\lldb\lit\SymbolFile\PDB/Inputs/SimpleTypesTest.cpp" "/o" "C:\Work\llvm\build_x86\tools\lldb\lit\SymbolFile\PDB\Output/SimpleTypesTest.cpp.enums.obj"
  # command stderr:
  C:\Work\llvm\tools\lldb\lit\SymbolFile\PDB/Inputs/SimpleTypesTest.cpp(41,9) :  error: unknown type name 'char16_t'
  typedef char16_t WChar16Typedef;
          ^
  C:\Work\llvm\tools\lldb\lit\SymbolFile\PDB/Inputs/SimpleTypesTest.cpp(44,9) :  error: unknown type name 'char32_t'
  typedef char32_t WChar32Typedef;
          ^
  2 errors generated.
  
  error: command failed with exit status: 1
  
  --
  
  ********************
  Testing Time: 0.33s
  ********************
  Failing Tests (1):
      LLDB :: SymbolFile/PDB/enums-layout.test
  
    Unexpected Failures: 1

I can't figure out yet what can be wrong with it. May be you have some ideas how to fix this?


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D54009





More information about the lldb-commits mailing list