[llvm-bugs] [Bug 41935] New: LLDB :: SymbolFile/NativePDB/globals-fundamental.cpp fails on 8.0 branch w/ LLDB_DISABLE_PYTHON

via llvm-bugs llvm-bugs at lists.llvm.org
Sun May 19 03:03:58 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41935

            Bug ID: 41935
           Summary: LLDB :: SymbolFile/NativePDB/globals-fundamental.cpp
                    fails on 8.0 branch w/ LLDB_DISABLE_PYTHON
           Product: new-bugs
           Version: 8.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mgorny at gentoo.org
                CC: davide at freebsd.org, htmldeveloper at gmail.com,
                    jdevlieghere at apple.com, labath at google.com,
                    llvm-bugs at lists.llvm.org
        Depends on: 41934
            Blocks: 41221

Created attachment 21971
  --> https://bugs.llvm.org/attachment.cgi?id=21971&action=edit
0001-lldb-lit-Skip-globals-fundamental-test-when-Python-i.patch

When LLDB_DISABLE_PYTHON is set to 1, the following test fails (in addition to
tests for which backports I've requested already).

It's been fixed in trunk already via r356171.  However, that's a potentially
intrusive change, so I think it's better to just skip the test in 8.x.  I'm
attaching a patch to do so (it depends on the patches whose backports I've
already requested).


FAIL: LLDB :: SymbolFile/NativePDB/globals-fundamental.cpp (19 of 19)
******************** TEST 'LLDB ::
SymbolFile/NativePDB/globals-fundamental.cpp' FAILED ********************
Script:
--
: 'RUN: at line 5';   '/usr/bin/python2.7'
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/helper/build.py
--compiler=any --arch=64
--tools-dir=/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/./bin
--compiler=clang-cl --nodefaultlib -o
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/lit/SymbolFile/NativePDB/Output/globals-fundamental.cpp.tmp.exe
--
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/SymbolFile/NativePDB/globals-fundamental.cpp
: 'RUN: at line 6';   env LLDB_USE_NATIVE_PDB_READER=1
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/bin/lldb -S
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/lit-lldb-init -f
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/lit/SymbolFile/NativePDB/Output/globals-fundamental.cpp.tmp.exe
-s     
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/SymbolFile/NativePDB/Inputs/globals-fundamental.lldbinit
| /usr/lib64/llvm/8/bin/FileCheck
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/SymbolFile/NativePDB/globals-fundamental.cpp
--
Exit Code: 1

Command Output (stdout):
--
Cleaning globals-fundamental.ilk
Cleaning globals-fundamental.cpp.tmp.exe-globals-fundamental.obj
Cleaning globals-fundamental.cpp.tmp.pdb
Cleaning globals-fundamental.cpp.tmp.exe



compiling globals-fundamental.cpp ->
globals-fundamental.cpp.tmp.exe-globals-fundamental.obj
  STDOUT:




linking globals-fundamental.cpp.tmp.exe-globals-fundamental.obj ->
globals-fundamental.cpp.tmp.exe
  STDOUT:


--
Command Output (stderr):
--
+ : 'RUN: at line 5'
+ /usr/bin/python2.7
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/helper/build.py
--compiler=any --arch=64
--tools-dir=/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/./bin
--compiler=clang-cl --nodefaultlib -o
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/lit/SymbolFile/NativePDB/Output/globals-fundamental.cpp.tmp.exe
--
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/SymbolFile/NativePDB/globals-fundamental.cpp
+ : 'RUN: at line 6'
+ env LLDB_USE_NATIVE_PDB_READER=1
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/bin/lldb -S
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/lit-lldb-init -f
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/lit/SymbolFile/NativePDB/Output/globals-fundamental.cpp.tmp.exe
-s
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/SymbolFile/NativePDB/Inputs/globals-fundamental.lldbinit
+ /usr/lib64/llvm/8/bin/FileCheck
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/SymbolFile/NativePDB/globals-fundamental.cpp
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/SymbolFile/NativePDB/globals-fundamental.cpp:43:16:
error: CHECK-NEXT: expected string not found in input
// CHECK-NEXT: (wchar_t) WC1 = L'1'
               ^
<stdin>:31:1: note: scanning from here
(wchar_t) WC1 = 1\0
^

--


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=41221
[Bug 41221] [meta] 8.0.1 Release Blockers
https://bugs.llvm.org/show_bug.cgi?id=41934
[Bug 41934] Please backport r361114 to 8.0
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190519/2edbfb1d/attachment.html>


More information about the llvm-bugs mailing list