Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\workspace\llvm-project>ninja -C build check-lldb-api
- ninja: Entering directory `build'
- [2/3] Running lldb api test suiteC:\workspace\llvm-project\build\tools\lldb\test\API\lit.site.cfg.py:35: SyntaxWarning: invalid escape sequence '\P'
- config.python_executable = "C:\Program Files\Python312\python.exe"
- -- Testing: 1191 tests, 32 workers --
- Testing:
- UNRESOLVED: lldb-api :: lang/cpp/wchar_t/TestCxxWCharT.py (1 of 1191)
- ******************** TEST 'lldb-api :: lang/cpp/wchar_t/TestCxxWCharT.py' FAILED ********************
- Script:
- --
- C:\Program Files\Python312\python.exe C:/workspace/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --env OBJCOPY=C:/workspace/llvm-project/build/./bin/llvm-objcopy.exe --env LLVM_LIBS_DIR=C:/workspace/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=C:/workspace/llvm-project/build/include --env LLVM_TOOLS_DIR=C:/workspace/llvm-project/build/./bin --arch x86_64 --build-dir C:/workspace/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api --executable C:/workspace/llvm-project/build/./bin/lldb.exe --compiler C:/workspace/llvm-project/build/./bin/clang.exe --dsymutil C:/workspace/llvm-project/build/./bin/dsymutil.exe --llvm-tools-dir C:/workspace/llvm-project/build/./bin --lldb-obj-root C:/workspace/llvm-project/build/tools/lldb --lldb-libs-dir C:/workspace/llvm-project/build/./lib --skip-category=watchpoint C:\workspace\llvm-project\lldb\test\API\lang\cpp\wchar_t -p TestCxxWCharT.py
- --
- Exit Code: 1
- Command Output (stdout):
- --
- lldb version 20.0.0git (https://github.com/kendalharland/llvm-project revision e6dbb56a5330789ab783d1d90807d51e84ea787c)
- clang revision e6dbb56a5330789ab783d1d90807d51e84ea787c
- llvm revision e6dbb56a5330789ab783d1d90807d51e84ea787c
- Skipping the following test categories: ['watchpoint', 'libc++', 'libstdcxx', 'dwo', 'dsym', 'gmodules', 'debugserver', 'objc', 'fork', 'pexpect']
- runCmd: settings clear -all
- output:
- runCmd: settings set symbols.enable-external-lookup false
- output:
- runCmd: settings set target.inherit-tcc true
- output:
- runCmd: settings set target.disable-aslr false
- output:
- runCmd: settings set target.detach-on-error false
- output:
- runCmd: settings set target.auto-apply-fixits false
- output:
- runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
- output:
- runCmd: settings set symbols.clang-modules-cache-path "C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api"
- output:
- runCmd: settings set use-color false
- output:
- runCmd: settings set target.env-vars PATH=
- output:
- runBuildCommand make 'VPATH=C:\workspace\llvm-project\lldb\test\API\lang\cpp\wchar_t' -C 'C:\workspace\llvm-project\build\lldb-test-build.noindex\lang\cpp\wchar_t\TestCxxWCharT.test_dwarf' -I 'C:\workspace\llvm-project\lldb\test\API\lang\cpp\wchar_t' -I 'C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make' -f 'C:\workspace\llvm-project\lldb\test\API\lang\cpp\wchar_t\Makefile' MAKE_DSYM=NO all ARCH=x86_64 'CC="C:\workspace\llvm-project\build\bin\clang.exe"' 'CLANG_MODULE_CACHE_DIR=C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api' LLDB_OBJ_ROOT=C:/workspace/llvm-project/build/tools/lldb OS=Windows_NT HOST_OS=Windows_NT
- output: make: Entering directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/lang/cpp/wchar_t/TestCxxWCharT.test_dwarf'
- "C:\workspace\llvm-project\build\bin\clang.exe" -std=c++11 -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\lang\cpp\wchar_t -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fno-exceptions -D_HAS_EXCEPTIONS=0 -fms-compatibility-version=19.0 -std=c++14 --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o C:\workspace\llvm-project\lldb\test\API\lang\cpp\wchar_t/main.cpp
- C:\workspace\llvm-project\lldb\test\API\lang\cpp\wchar_t/main.cpp:21:25: warning: ISO C++11 does not allow conversion from string literal to 'wchar_t *' [-Wwritable-strings]
- 21 | wchar_t *ws_empty = L"";
- | ^
- C:\workspace\llvm-project\lldb\test\API\lang\cpp\wchar_t/main.cpp:22:41: warning: ISO C++11 does not allow conversion from string literal to 'wchar_t *' [-Wwritable-strings]
- 22 | wchar_t array[200], * array_source = L"Hey, I'm a super wchar_t string, éõñž<U+F8FF>";
- | ^
- 2 warnings generated.
- "C:\workspace\llvm-project\build\bin\clang.exe" main.o -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\lang\cpp\wchar_t -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fuse-ld=lld --driver-mode=g++ -o "a.out"
- make: Leaving directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/lang/cpp/wchar_t/TestCxxWCharT.test_dwarf'
- runCmd: expression L'a'
- output: (wchar_t) $0 = L'a'
- runCmd: frame variable mazeltov
- output:
- --
- Command Output (stderr):
- --
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_dsym (TestCxxWCharT.CxxWCharTTestCase.test_dsym) (test case does not fall in any category of interest for this run)
- FAIL: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_dwarf (TestCxxWCharT.CxxWCharTTestCase.test_dwarf)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_dwo (TestCxxWCharT.CxxWCharTTestCase.test_dwo) (test case does not fall in any category of interest for this run)
- ======================================================================
- ERROR: test_dwarf (TestCxxWCharT.CxxWCharTTestCase.test_dwarf)
- Test that C++ supports wchar_t correctly.
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 1761, in test_method
- return attrvalue(self)
- ^^^^^^^^^^^^^^^
- File "C:\workspace\llvm-project\lldb\test\API\lang\cpp\wchar_t\TestCxxWCharT.py", line 36, in test
- self.expect(
- File "C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 2362, in expect
- self.runCmd(
- File "C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 986, in runCmd
- print("output:", self.res.GetOutput())
- File "C:\Program Files\Python312\Lib\encodings\cp1252.py", line 19, in encode
- return codecs.charmap_encode(input,self.errors,encoding_table)[0]
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- UnicodeEncodeError: 'charmap' codec can't encode characters in position 50-52: character maps to <undefined>
- Config=x86_64-C:\workspace\llvm-project\build\bin\clang.exe
- ----------------------------------------------------------------------
- Ran 3 tests in 0.899s
- FAILED (errors=1, skipped=2)
- --
- ********************
- Testing:
- UNRESOLVED: lldb-api :: lang/cpp/char1632_t/TestChar1632T.py (2 of 1191)
- ******************** TEST 'lldb-api :: lang/cpp/char1632_t/TestChar1632T.py' FAILED ********************
- Script:
- --
- C:\Program Files\Python312\python.exe C:/workspace/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --env OBJCOPY=C:/workspace/llvm-project/build/./bin/llvm-objcopy.exe --env LLVM_LIBS_DIR=C:/workspace/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=C:/workspace/llvm-project/build/include --env LLVM_TOOLS_DIR=C:/workspace/llvm-project/build/./bin --arch x86_64 --build-dir C:/workspace/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api --executable C:/workspace/llvm-project/build/./bin/lldb.exe --compiler C:/workspace/llvm-project/build/./bin/clang.exe --dsymutil C:/workspace/llvm-project/build/./bin/dsymutil.exe --llvm-tools-dir C:/workspace/llvm-project/build/./bin --lldb-obj-root C:/workspace/llvm-project/build/tools/lldb --lldb-libs-dir C:/workspace/llvm-project/build/./lib --skip-category=watchpoint C:\workspace\llvm-project\lldb\test\API\lang\cpp\char1632_t -p TestChar1632T.py
- --
- Exit Code: 1
- Command Output (stdout):
- --
- lldb version 20.0.0git (https://github.com/kendalharland/llvm-project revision e6dbb56a5330789ab783d1d90807d51e84ea787c)
- clang revision e6dbb56a5330789ab783d1d90807d51e84ea787c
- llvm revision e6dbb56a5330789ab783d1d90807d51e84ea787c
- Skipping the following test categories: ['watchpoint', 'libc++', 'libstdcxx', 'dwo', 'dsym', 'gmodules', 'debugserver', 'objc', 'fork', 'pexpect']
- runCmd: settings clear -all
- output:
- runCmd: settings set symbols.enable-external-lookup false
- output:
- runCmd: settings set target.inherit-tcc true
- output:
- runCmd: settings set target.disable-aslr false
- output:
- runCmd: settings set target.detach-on-error false
- output:
- runCmd: settings set target.auto-apply-fixits false
- output:
- runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
- output:
- runCmd: settings set symbols.clang-modules-cache-path "C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api"
- output:
- runCmd: settings set use-color false
- output:
- runCmd: settings set target.env-vars PATH=
- output:
- runBuildCommand make 'VPATH=C:\workspace\llvm-project\lldb\test\API\lang\cpp\char1632_t' -C 'C:\workspace\llvm-project\build\lldb-test-build.noindex\lang\cpp\char1632_t\TestChar1632T.test_dwarf' -I 'C:\workspace\llvm-project\lldb\test\API\lang\cpp\char1632_t' -I 'C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make' -f 'C:\workspace\llvm-project\lldb\test\API\lang\cpp\char1632_t\Makefile' MAKE_DSYM=NO all ARCH=x86_64 'CC="C:\workspace\llvm-project\build\bin\clang.exe"' 'CLANG_MODULE_CACHE_DIR=C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api' LLDB_OBJ_ROOT=C:/workspace/llvm-project/build/tools/lldb OS=Windows_NT HOST_OS=Windows_NT
- output: make: Entering directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/lang/cpp/char1632_t/TestChar1632T.test_dwarf'
- "C:\workspace\llvm-project\build\bin\clang.exe" -std=c++11 -g -O0 -std=c++11 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\lang\cpp\char1632_t -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fno-exceptions -D_HAS_EXCEPTIONS=0 -fms-compatibility-version=19.0 -std=c++14 --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o C:\workspace\llvm-project\lldb\test\API\lang\cpp\char1632_t/main.cpp
- "C:\workspace\llvm-project\build\bin\clang.exe" main.o -g -O0 -std=c++11 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\lang\cpp\char1632_t -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fuse-ld=lld --driver-mode=g++ -o "a.out"
- make: Leaving directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/lang/cpp/char1632_t/TestChar1632T.test_dwarf'
- runCmd: breakpoint set -f "main.cpp" -l 28
- output: Breakpoint 1: where = a.out`main + 129 at main.cpp:28, address = 0x0000000140001081
- runCmd: breakpoint set -f "main.cpp" -l 33
- output: Breakpoint 2: where = a.out`main + 195 at main.cpp:33, address = 0x00000001400010c3
- runCmd: frame variable cs16 cs32
- output:
- --
- Command Output (stderr):
- --
- C:\workspace\llvm-project\lldb\test\API\lang\cpp\char1632_t\TestChar1632T.py:77: SyntaxWarning: invalid escape sequence '\('
- "\(char16_t\[[0-9]+\]\) as16 = ",
- C:\workspace\llvm-project\lldb\test\API\lang\cpp\char1632_t\TestChar1632T.py:78: SyntaxWarning: invalid escape sequence '\('
- "\(char32_t\[[0-9]+\]\) as32 = ",
- C:\workspace\llvm-project\lldb\test\API\lang\cpp\char1632_t\TestChar1632T.py:106: SyntaxWarning: invalid escape sequence '\('
- "\(char16_t\[[0-9]+\]\) as16 = ",
- C:\workspace\llvm-project\lldb\test\API\lang\cpp\char1632_t\TestChar1632T.py:107: SyntaxWarning: invalid escape sequence '\('
- "\(char32_t\[[0-9]+\]\) as32 = ",
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_dsym (TestChar1632T.Char1632TestCase.test_dsym) (test case does not fall in any category of interest for this run)
- FAIL: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_dwarf (TestChar1632T.Char1632TestCase.test_dwarf)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_dwo (TestChar1632T.Char1632TestCase.test_dwo) (test case does not fall in any category of interest for this run)
- ======================================================================
- ERROR: test_dwarf (TestChar1632T.Char1632TestCase.test_dwarf)
- Test that the C++11 support for char16_t and char32_t works correctly.
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 1761, in test_method
- return attrvalue(self)
- ^^^^^^^^^^^^^^^
- File "C:\workspace\llvm-project\lldb\test\API\lang\cpp\char1632_t\TestChar1632T.py", line 52, in test
- self.expect(
- File "C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 2362, in expect
- self.runCmd(
- File "C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 986, in runCmd
- print("output:", self.res.GetOutput())
- File "C:\Program Files\Python312\Lib\encodings\cp1252.py", line 19, in encode
- return codecs.charmap_encode(input,self.errors,encoding_table)[0]
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- UnicodeEncodeError: 'charmap' codec can't encode characters in position 59-61: character maps to <undefined>
- Config=x86_64-C:\workspace\llvm-project\build\bin\clang.exe
- ----------------------------------------------------------------------
- Ran 3 tests in 1.019s
- FAILED (errors=1, skipped=2)
- --
- ********************
- Testing:
- UNRESOLVED: lldb-api :: lang/cpp/char8_t/TestCxxChar8_t.py (3 of 1191)
- ******************** TEST 'lldb-api :: lang/cpp/char8_t/TestCxxChar8_t.py' FAILED ********************
- Script:
- --
- C:\Program Files\Python312\python.exe C:/workspace/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --env OBJCOPY=C:/workspace/llvm-project/build/./bin/llvm-objcopy.exe --env LLVM_LIBS_DIR=C:/workspace/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=C:/workspace/llvm-project/build/include --env LLVM_TOOLS_DIR=C:/workspace/llvm-project/build/./bin --arch x86_64 --build-dir C:/workspace/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api --executable C:/workspace/llvm-project/build/./bin/lldb.exe --compiler C:/workspace/llvm-project/build/./bin/clang.exe --dsymutil C:/workspace/llvm-project/build/./bin/dsymutil.exe --llvm-tools-dir C:/workspace/llvm-project/build/./bin --lldb-obj-root C:/workspace/llvm-project/build/tools/lldb --lldb-libs-dir C:/workspace/llvm-project/build/./lib --skip-category=watchpoint C:\workspace\llvm-project\lldb\test\API\lang\cpp\char8_t -p TestCxxChar8_t.py
- --
- Exit Code: 1
- Command Output (stdout):
- --
- lldb version 20.0.0git (https://github.com/kendalharland/llvm-project revision e6dbb56a5330789ab783d1d90807d51e84ea787c)
- clang revision e6dbb56a5330789ab783d1d90807d51e84ea787c
- llvm revision e6dbb56a5330789ab783d1d90807d51e84ea787c
- Skipping the following test categories: ['watchpoint', 'libc++', 'libstdcxx', 'dwo', 'dsym', 'gmodules', 'debugserver', 'objc', 'fork', 'pexpect']
- runCmd: settings clear -all
- output:
- runCmd: settings set symbols.enable-external-lookup false
- output:
- runCmd: settings set target.inherit-tcc true
- output:
- runCmd: settings set target.disable-aslr false
- output:
- runCmd: settings set target.detach-on-error false
- output:
- runCmd: settings set target.auto-apply-fixits false
- output:
- runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
- output:
- runCmd: settings set symbols.clang-modules-cache-path "C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api"
- output:
- runCmd: settings set use-color false
- output:
- runCmd: settings set target.env-vars PATH=
- output:
- runBuildCommand make 'VPATH=C:\workspace\llvm-project\lldb\test\API\lang\cpp\char8_t' -C 'C:\workspace\llvm-project\build\lldb-test-build.noindex\lang\cpp\char8_t\TestCxxChar8_t.test_with_process_dwarf' -I 'C:\workspace\llvm-project\lldb\test\API\lang\cpp\char8_t' -I 'C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make' -f 'C:\workspace\llvm-project\lldb\test\API\lang\cpp\char8_t\Makefile' MAKE_DSYM=NO all ARCH=x86_64 'CC="C:\workspace\llvm-project\build\bin\clang.exe"' 'CLANG_MODULE_CACHE_DIR=C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api' LLDB_OBJ_ROOT=C:/workspace/llvm-project/build/tools/lldb OS=Windows_NT HOST_OS=Windows_NT
- output: make: Entering directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/lang/cpp/char8_t/TestCxxChar8_t.test_with_process_dwarf'
- "C:\workspace\llvm-project\build\bin\clang.exe" -std=c++11 -gdwarf -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\lang\cpp\char8_t -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fno-exceptions -D_HAS_EXCEPTIONS=0 -fms-compatibility-version=19.0 -std=c++14 -std=c++2a -fchar8_t --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o C:\workspace\llvm-project\lldb\test\API\lang\cpp\char8_t/main.cpp
- "C:\workspace\llvm-project\build\bin\clang.exe" main.o -gdwarf -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\lang\cpp\char8_t -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -no-pie -fuse-ld=lld --driver-mode=g++ -o "a.out"
- clang: warning: argument unused during compilation: '-no-pie' [-Wunused-command-line-argument]
- lld-link: warning: section name .debug_abbrev is longer than 8 characters and will use a non-standard string table
- lld-link: warning: section name .debug_info is longer than 8 characters and will use a non-standard string table
- lld-link: warning: section name .debug_line is longer than 8 characters and will use a non-standard string table
- lld-link: warning: section name .debug_str is longer than 8 characters and will use a non-standard string table
- make: Leaving directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/lang/cpp/char8_t/TestCxxChar8_t.test_with_process_dwarf'
- runCmd: settings clear -all
- output:
- runCmd: settings set symbols.enable-external-lookup false
- output:
- runCmd: settings set target.inherit-tcc true
- output:
- runCmd: settings set target.disable-aslr false
- output:
- runCmd: settings set target.detach-on-error false
- output:
- runCmd: settings set target.auto-apply-fixits false
- output:
- runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
- output:
- runCmd: settings set symbols.clang-modules-cache-path "C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api"
- output:
- runCmd: settings set use-color false
- output:
- runCmd: settings set target.env-vars PATH=
- output:
- runBuildCommand make 'VPATH=C:\workspace\llvm-project\lldb\test\API\lang\cpp\char8_t' -C 'C:\workspace\llvm-project\build\lldb-test-build.noindex\lang\cpp\char8_t\TestCxxChar8_t.test_without_process_dwarf' -I 'C:\workspace\llvm-project\lldb\test\API\lang\cpp\char8_t' -I 'C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make' -f 'C:\workspace\llvm-project\lldb\test\API\lang\cpp\char8_t\Makefile' MAKE_DSYM=NO all ARCH=x86_64 'CC="C:\workspace\llvm-project\build\bin\clang.exe"' 'CLANG_MODULE_CACHE_DIR=C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api' LLDB_OBJ_ROOT=C:/workspace/llvm-project/build/tools/lldb OS=Windows_NT HOST_OS=Windows_NT
- output: make: Entering directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/lang/cpp/char8_t/TestCxxChar8_t.test_without_process_dwarf'
- "C:\workspace\llvm-project\build\bin\clang.exe" -std=c++11 -gdwarf -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\lang\cpp\char8_t -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fno-exceptions -D_HAS_EXCEPTIONS=0 -fms-compatibility-version=19.0 -std=c++14 -std=c++2a -fchar8_t --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o C:\workspace\llvm-project\lldb\test\API\lang\cpp\char8_t/main.cpp
- "C:\workspace\llvm-project\build\bin\clang.exe" main.o -gdwarf -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\lang\cpp\char8_t -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -no-pie -fuse-ld=lld --driver-mode=g++ -o "a.out"
- clang: warning: argument unused during compilation: '-no-pie' [-Wunused-command-line-argument]
- lld-link: warning: section name .debug_abbrev is longer than 8 characters and will use a non-standard string table
- lld-link: warning: section name .debug_info is longer than 8 characters and will use a non-standard string table
- lld-link: warning: section name .debug_line is longer than 8 characters and will use a non-standard string table
- lld-link: warning: section name .debug_str is longer than 8 characters and will use a non-standard string table
- make: Leaving directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/lang/cpp/char8_t/TestCxxChar8_t.test_without_process_dwarf'
- runCmd: target variable a
- output: (char8_t) a = 0x61 u8'a'
- runCmd: target variable ab
- output:
- --
- Command Output (stderr):
- --
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_with_process_dsym (TestCxxChar8_t.CxxChar8_tTestCase.test_with_process_dsym) (test case does not fall in any category of interest for this run)
- PASS: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_with_process_dwarf (TestCxxChar8_t.CxxChar8_tTestCase.test_with_process_dwarf)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_with_process_dwo (TestCxxChar8_t.CxxChar8_tTestCase.test_with_process_dwo) (test case does not fall in any category of interest for this run)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_without_process_dsym (TestCxxChar8_t.CxxChar8_tTestCase.test_without_process_dsym) (test case does not fall in any category of interest for this run)
- FAIL: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_without_process_dwarf (TestCxxChar8_t.CxxChar8_tTestCase.test_without_process_dwarf)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_without_process_dwo (TestCxxChar8_t.CxxChar8_tTestCase.test_without_process_dwo) (test case does not fall in any category of interest for this run)
- ======================================================================
- ERROR: test_without_process_dwarf (TestCxxChar8_t.CxxChar8_tTestCase.test_without_process_dwarf)
- Test that C++ supports char8_t without a running process.
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 1761, in test_method
- return attrvalue(self)
- ^^^^^^^^^^^^^^^
- File "C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\decorators.py", line 148, in wrapper
- return func(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^
- File "C:\workspace\llvm-project\lldb\test\API\lang\cpp\char8_t\TestCxxChar8_t.py", line 22, in test_without_process
- self.expect("target variable ab", substrs=["const char8_t *", 'u8"\u4f60\u597d"'])
- File "C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 2362, in expect
- self.runCmd(
- File "C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 986, in runCmd
- print("output:", self.res.GetOutput())
- File "C:\Program Files\Python312\Lib\encodings\cp1252.py", line 19, in encode
- return codecs.charmap_encode(input,self.errors,encoding_table)[0]
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- UnicodeEncodeError: 'charmap' codec can't encode characters in position 45-46: character maps to <undefined>
- Config=x86_64-C:\workspace\llvm-project\build\bin\clang.exe
- ----------------------------------------------------------------------
- Ran 6 tests in 1.548s
- FAILED (errors=1, skipped=4)
- --
- ********************
- Testing:
- FAIL: lldb-api :: python_api/thread/TestThreadAPI.py (6 of 1191)
- ******************** TEST 'lldb-api :: python_api/thread/TestThreadAPI.py' FAILED ********************
- Script:
- --
- C:\Program Files\Python312\python.exe C:/workspace/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --env OBJCOPY=C:/workspace/llvm-project/build/./bin/llvm-objcopy.exe --env LLVM_LIBS_DIR=C:/workspace/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=C:/workspace/llvm-project/build/include --env LLVM_TOOLS_DIR=C:/workspace/llvm-project/build/./bin --arch x86_64 --build-dir C:/workspace/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api --executable C:/workspace/llvm-project/build/./bin/lldb.exe --compiler C:/workspace/llvm-project/build/./bin/clang.exe --dsymutil C:/workspace/llvm-project/build/./bin/dsymutil.exe --llvm-tools-dir C:/workspace/llvm-project/build/./bin --lldb-obj-root C:/workspace/llvm-project/build/tools/lldb --lldb-libs-dir C:/workspace/llvm-project/build/./lib --skip-category=watchpoint C:\workspace\llvm-project\lldb\test\API\python_api\thread -p TestThreadAPI.py
- --
- Exit Code: 1
- Command Output (stdout):
- --
- lldb version 20.0.0git (https://github.com/kendalharland/llvm-project revision e6dbb56a5330789ab783d1d90807d51e84ea787c)
- clang revision e6dbb56a5330789ab783d1d90807d51e84ea787c
- llvm revision e6dbb56a5330789ab783d1d90807d51e84ea787c
- Skipping the following test categories: ['watchpoint', 'libc++', 'libstdcxx', 'dwo', 'dsym', 'gmodules', 'debugserver', 'objc', 'fork', 'pexpect']
- runCmd: settings clear -all
- output:
- runCmd: settings set symbols.enable-external-lookup false
- output:
- runCmd: settings set target.inherit-tcc true
- output:
- runCmd: settings set target.disable-aslr false
- output:
- runCmd: settings set target.detach-on-error false
- output:
- runCmd: settings set target.auto-apply-fixits false
- output:
- runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
- output:
- runCmd: settings set symbols.clang-modules-cache-path "C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api"
- output:
- runCmd: settings set use-color false
- output:
- runCmd: settings set target.env-vars PATH=
- output:
- runBuildCommand make 'VPATH=C:\workspace\llvm-project\lldb\test\API\python_api\thread' -C 'C:\workspace\llvm-project\build\lldb-test-build.noindex\python_api\thread\TestThreadAPI.test_StepInstruction_dwarf' -I 'C:\workspace\llvm-project\lldb\test\API\python_api\thread' -I 'C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make' -f 'C:\workspace\llvm-project\lldb\test\API\python_api\thread\Makefile' MAKE_DSYM=NO all ARCH=x86_64 'CC="C:\workspace\llvm-project\build\bin\clang.exe"' 'CLANG_MODULE_CACHE_DIR=C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api' LLDB_OBJ_ROOT=C:/workspace/llvm-project/build/tools/lldb OS=Windows_NT HOST_OS=Windows_NT
- output: make: Entering directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/python_api/thread/TestThreadAPI.test_StepInstruction_dwarf'
- "C:\workspace\llvm-project\build\bin\clang.exe" -std=c++11 -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\python_api\thread -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fno-exceptions -D_HAS_EXCEPTIONS=0 -fms-compatibility-version=19.0 -std=c++14 --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o C:\workspace\llvm-project\lldb\test\API\python_api\thread/main.cpp
- "C:\workspace\llvm-project\build\bin\clang.exe" main.o -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\python_api\thread -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fuse-ld=lld --driver-mode=g++ -o "a.out"
- make: Leaving directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/python_api/thread/TestThreadAPI.test_StepInstruction_dwarf'
- runCmd: expr -i 0 -- call_me(true)
- output:
- runCmd: settings clear -all
- output:
- runCmd: settings set symbols.enable-external-lookup false
- output:
- runCmd: settings set target.inherit-tcc true
- output:
- runCmd: settings set target.disable-aslr false
- output:
- runCmd: settings set target.detach-on-error false
- output:
- runCmd: settings set target.auto-apply-fixits false
- output:
- runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
- output:
- runCmd: settings set symbols.clang-modules-cache-path "C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api"
- output:
- runCmd: settings set use-color false
- output:
- runCmd: settings set target.env-vars PATH=
- output:
- runBuildCommand make 'VPATH=C:\workspace\llvm-project\lldb\test\API\python_api\thread' -C 'C:\workspace\llvm-project\build\lldb-test-build.noindex\python_api\thread\TestThreadAPI.test_get_process_dwarf' -I 'C:\workspace\llvm-project\lldb\test\API\python_api\thread' -I 'C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make' -f 'C:\workspace\llvm-project\lldb\test\API\python_api\thread\Makefile' MAKE_DSYM=NO all ARCH=x86_64 'CC="C:\workspace\llvm-project\build\bin\clang.exe"' 'CLANG_MODULE_CACHE_DIR=C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api' LLDB_OBJ_ROOT=C:/workspace/llvm-project/build/tools/lldb OS=Windows_NT HOST_OS=Windows_NT
- output: make: Entering directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/python_api/thread/TestThreadAPI.test_get_process_dwarf'
- "C:\workspace\llvm-project\build\bin\clang.exe" -std=c++11 -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\python_api\thread -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fno-exceptions -D_HAS_EXCEPTIONS=0 -fms-compatibility-version=19.0 -std=c++14 --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o C:\workspace\llvm-project\lldb\test\API\python_api\thread/main.cpp
- "C:\workspace\llvm-project\build\bin\clang.exe" main.o -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\python_api\thread -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fuse-ld=lld --driver-mode=g++ -o "a.out"
- make: Leaving directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/python_api/thread/TestThreadAPI.test_get_process_dwarf'
- runCmd: breakpoint list
- output: Current breakpoints:
- 1: file = 'main.cpp', line = 27, exact_match = 0, locations = 1
- 1.1: where = a.out`main + 108 at main.cpp:27, address = a.out[0x000000014000109c], unresolved, hit count = 0
- runCmd: process status
- output: Process 33884 stopped
- * thread #1, stop reason = breakpoint 1.1
- frame #0: 0x00007ff7cf94109c a.out`main(argc=1, argv=0x000001969f5031e0) at main.cpp:27
- 24
- 25 printf("after the loop: my_char='%c'\n", my_char); // 'my_char' should print out as 'x'.
- 26
- -> 27 return 0; // Set break point at this line and check variable 'my_char'.
- 28 }
- runCmd: settings clear -all
- output:
- runCmd: settings set symbols.enable-external-lookup false
- output:
- runCmd: settings set target.inherit-tcc true
- output:
- runCmd: settings set target.disable-aslr false
- output:
- runCmd: settings set target.detach-on-error false
- output:
- runCmd: settings set target.auto-apply-fixits false
- output:
- runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
- output:
- runCmd: settings set symbols.clang-modules-cache-path "C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api"
- output:
- runCmd: settings set use-color false
- output:
- runCmd: settings set target.env-vars PATH=
- output:
- runBuildCommand make 'VPATH=C:\workspace\llvm-project\lldb\test\API\python_api\thread' -C 'C:\workspace\llvm-project\build\lldb-test-build.noindex\python_api\thread\TestThreadAPI.test_get_stop_description_dwarf' -I 'C:\workspace\llvm-project\lldb\test\API\python_api\thread' -I 'C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make' -f 'C:\workspace\llvm-project\lldb\test\API\python_api\thread\Makefile' MAKE_DSYM=NO all ARCH=x86_64 'CC="C:\workspace\llvm-project\build\bin\clang.exe"' 'CLANG_MODULE_CACHE_DIR=C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api' LLDB_OBJ_ROOT=C:/workspace/llvm-project/build/tools/lldb OS=Windows_NT HOST_OS=Windows_NT
- output: make: Entering directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/python_api/thread/TestThreadAPI.test_get_stop_description_dwarf'
- "C:\workspace\llvm-project\build\bin\clang.exe" -std=c++11 -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\python_api\thread -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fno-exceptions -D_HAS_EXCEPTIONS=0 -fms-compatibility-version=19.0 -std=c++14 --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o C:\workspace\llvm-project\lldb\test\API\python_api\thread/main.cpp
- "C:\workspace\llvm-project\build\bin\clang.exe" main.o -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\python_api\thread -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fuse-ld=lld --driver-mode=g++ -o "a.out"
- make: Leaving directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/python_api/thread/TestThreadAPI.test_get_stop_description_dwarf'
- runCmd: settings clear -all
- output:
- runCmd: settings set symbols.enable-external-lookup false
- output:
- runCmd: settings set target.inherit-tcc true
- output:
- runCmd: settings set target.disable-aslr false
- output:
- runCmd: settings set target.detach-on-error false
- output:
- runCmd: settings set target.auto-apply-fixits false
- output:
- runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
- output:
- runCmd: settings set symbols.clang-modules-cache-path "C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api"
- output:
- runCmd: settings set use-color false
- output:
- runCmd: settings set target.env-vars PATH=
- output:
- runBuildCommand make 'VPATH=C:\workspace\llvm-project\lldb\test\API\python_api\thread' -C 'C:\workspace\llvm-project\build\lldb-test-build.noindex\python_api\thread\TestThreadAPI.test_negative_indexing_dwarf' -I 'C:\workspace\llvm-project\lldb\test\API\python_api\thread' -I 'C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make' -f 'C:\workspace\llvm-project\lldb\test\API\python_api\thread\Makefile' MAKE_DSYM=NO all ARCH=x86_64 'CC="C:\workspace\llvm-project\build\bin\clang.exe"' 'CLANG_MODULE_CACHE_DIR=C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api' LLDB_OBJ_ROOT=C:/workspace/llvm-project/build/tools/lldb OS=Windows_NT HOST_OS=Windows_NT
- output: make: Entering directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/python_api/thread/TestThreadAPI.test_negative_indexing_dwarf'
- "C:\workspace\llvm-project\build\bin\clang.exe" -std=c++11 -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\python_api\thread -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fno-exceptions -D_HAS_EXCEPTIONS=0 -fms-compatibility-version=19.0 -std=c++14 --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o C:\workspace\llvm-project\lldb\test\API\python_api\thread/main.cpp
- "C:\workspace\llvm-project\build\bin\clang.exe" main.o -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\python_api\thread -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fuse-ld=lld --driver-mode=g++ -o "a.out"
- make: Leaving directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/python_api/thread/TestThreadAPI.test_negative_indexing_dwarf'
- runCmd: breakpoint list
- output: Current breakpoints:
- 1: file = 'main.cpp', line = 27, exact_match = 0, locations = 1
- 1.1: where = a.out`main + 108 at main.cpp:27, address = a.out[0x000000014000109c], unresolved, hit count = 0
- runCmd: process status
- output: Process 52244 stopped
- * thread #1, stop reason = breakpoint 1.1
- frame #0: 0x00007ff63f79109c a.out`main(argc=1, argv=0x000001aa0afc3310) at main.cpp:27
- 24
- 25 printf("after the loop: my_char='%c'\n", my_char); // 'my_char' should print out as 'x'.
- 26
- -> 27 return 0; // Set break point at this line and check variable 'my_char'.
- 28 }
- runCmd: settings clear -all
- output:
- runCmd: settings set symbols.enable-external-lookup false
- output:
- runCmd: settings set target.inherit-tcc true
- output:
- runCmd: settings set target.disable-aslr false
- output:
- runCmd: settings set target.detach-on-error false
- output:
- runCmd: settings set target.auto-apply-fixits false
- output:
- runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
- output:
- runCmd: settings set symbols.clang-modules-cache-path "C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api"
- output:
- runCmd: settings set use-color false
- output:
- runCmd: settings set target.env-vars PATH=
- output:
- runBuildCommand make 'VPATH=C:\workspace\llvm-project\lldb\test\API\python_api\thread' -C 'C:\workspace\llvm-project\build\lldb-test-build.noindex\python_api\thread\TestThreadAPI.test_run_to_address_dwarf' -I 'C:\workspace\llvm-project\lldb\test\API\python_api\thread' -I 'C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make' -f 'C:\workspace\llvm-project\lldb\test\API\python_api\thread\Makefile' MAKE_DSYM=NO all ARCH=x86_64 'CC="C:\workspace\llvm-project\build\bin\clang.exe"' 'CLANG_MODULE_CACHE_DIR=C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api' LLDB_OBJ_ROOT=C:/workspace/llvm-project/build/tools/lldb CXX_SOURCES=main2.cpp EXE=test_run_to_address_dwarf OS=Windows_NT HOST_OS=Windows_NT
- output: make: Entering directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/python_api/thread/TestThreadAPI.test_run_to_address_dwarf'
- "C:\workspace\llvm-project\build\bin\clang.exe" -std=c++11 -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\python_api\thread -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fno-exceptions -D_HAS_EXCEPTIONS=0 -fms-compatibility-version=19.0 -std=c++14 --driver-mode=g++ -MT main2.o -MD -MP -MF main2.d -c -o main2.o C:\workspace\llvm-project\lldb\test\API\python_api\thread/main2.cpp
- "C:\workspace\llvm-project\build\bin\clang.exe" main2.o -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\python_api\thread -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fuse-ld=lld --driver-mode=g++ -o "test_run_to_address_dwarf"
- make: Leaving directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/python_api/thread/TestThreadAPI.test_run_to_address_dwarf'
- runCmd: breakpoint list
- output: Current breakpoints:
- 1: file = 'main2.cpp', line = 21, exact_match = 0, locations = 1
- 1.1: where = test_run_to_address_dwarf`b + 21 at main2.cpp:21, address = test_run_to_address_dwarf[0x0000000140001065], unresolved, hit count = 0
- runCmd: thread backtrace
- output: * thread #1, stop reason = breakpoint 1.1
- * frame #0: 0x00007ff67f9e1065 test_run_to_address_dwarf`b(val=1) at main2.cpp:21
- frame #1: 0x00007ff67f9e1018 test_run_to_address_dwarf`a(val=1) at main2.cpp:11
- frame #2: 0x00007ff67f9e10df test_run_to_address_dwarf`main(argc=1, argv=0x000001a103433310) at main2.cpp:36
- frame #3: 0x00007ff67f9e14a8 test_run_to_address_dwarf`__scrt_common_main_seh [inlined] invoke_main at exe_common.inl:288
- frame #4: 0x00007ff67f9e1486 test_run_to_address_dwarf`__scrt_common_main_seh at exe_common.inl:288
- frame #5: 0x00007ffc27e0257d kernel32.dll`BaseThreadInitThunk + 29
- frame #6: 0x00007ffc28d6af28 ntdll.dll`RtlUserThreadStart + 40
- runCmd: breakpoint list
- output: Current breakpoints:
- 1: file = 'main2.cpp', line = 21, exact_match = 0, locations = 1 Options: disabled
- 1.1: where = test_run_to_address_dwarf`b + 21 at main2.cpp:21, address = 0x00007ff67f9e1065, unresolved, hit count = 1
- runCmd: thread backtrace
- output: * thread #1, stop reason = step over
- * frame #0: 0x00007ff67f9e1097 test_run_to_address_dwarf`b(val=1) at main2.cpp:26
- frame #1: 0x00007ff67f9e1018 test_run_to_address_dwarf`a(val=1) at main2.cpp:11
- frame #2: 0x00007ff67f9e10df test_run_to_address_dwarf`main(argc=1, argv=0x000001a103433310) at main2.cpp:36
- frame #3: 0x00007ff67f9e14a8 test_run_to_address_dwarf`__scrt_common_main_seh [inlined] invoke_main at exe_common.inl:288
- frame #4: 0x00007ff67f9e1486 test_run_to_address_dwarf`__scrt_common_main_seh at exe_common.inl:288
- frame #5: 0x00007ffc27e0257d kernel32.dll`BaseThreadInitThunk + 29
- frame #6: 0x00007ffc28d6af28 ntdll.dll`RtlUserThreadStart + 40
- runCmd: process status
- output: Process 54840 stopped
- * thread #1, stop reason = run to address: 0x00007ff67f9e1065
- frame #0: 0x00007ff67f9e1065 test_run_to_address_dwarf`b(val=2) at main2.cpp:21
- 18 int b(int val)
- 19 {
- 20 int rc = c(val);
- -> 21 void *ptr = malloc(1024); // thread step-out of malloc into function b.
- 22 if (!ptr)
- 23 return -1;
- 24 else
- runCmd: settings clear -all
- output:
- runCmd: settings set symbols.enable-external-lookup false
- output:
- runCmd: settings set target.inherit-tcc true
- output:
- runCmd: settings set target.disable-aslr false
- output:
- runCmd: settings set target.detach-on-error false
- output:
- runCmd: settings set target.auto-apply-fixits false
- output:
- runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
- output:
- runCmd: settings set symbols.clang-modules-cache-path "C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api"
- output:
- runCmd: settings set use-color false
- output:
- runCmd: settings set target.env-vars PATH=
- output:
- runBuildCommand make 'VPATH=C:\workspace\llvm-project\lldb\test\API\python_api\thread' -C 'C:\workspace\llvm-project\build\lldb-test-build.noindex\python_api\thread\TestThreadAPI.test_step_out_of_malloc_into_function_b_dwarf' -I 'C:\workspace\llvm-project\lldb\test\API\python_api\thread' -I 'C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make' -f 'C:\workspace\llvm-project\lldb\test\API\python_api\thread\Makefile' MAKE_DSYM=NO all ARCH=x86_64 'CC="C:\workspace\llvm-project\build\bin\clang.exe"' 'CLANG_MODULE_CACHE_DIR=C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api' LLDB_OBJ_ROOT=C:/workspace/llvm-project/build/tools/lldb CXX_SOURCES=main2.cpp EXE=test_step_out_of_malloc_into_function_b_dwarf OS=Windows_NT HOST_OS=Windows_NT
- output: make: Entering directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/python_api/thread/TestThreadAPI.test_step_out_of_malloc_into_function_b_dwarf'
- "C:\workspace\llvm-project\build\bin\clang.exe" -std=c++11 -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\python_api\thread -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fno-exceptions -D_HAS_EXCEPTIONS=0 -fms-compatibility-version=19.0 -std=c++14 --driver-mode=g++ -MT main2.o -MD -MP -MF main2.d -c -o main2.o C:\workspace\llvm-project\lldb\test\API\python_api\thread/main2.cpp
- "C:\workspace\llvm-project\build\bin\clang.exe" main2.o -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\python_api\thread -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fuse-ld=lld --driver-mode=g++ -o "test_step_out_of_malloc_into_function_b_dwarf"
- make: Leaving directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/python_api/thread/TestThreadAPI.test_step_out_of_malloc_into_function_b_dwarf'
- runCmd: settings clear -all
- output:
- runCmd: settings set symbols.enable-external-lookup false
- output:
- runCmd: settings set target.inherit-tcc true
- output:
- runCmd: settings set target.disable-aslr false
- output:
- runCmd: settings set target.detach-on-error false
- output:
- runCmd: settings set target.auto-apply-fixits false
- output:
- runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
- output:
- runCmd: settings set symbols.clang-modules-cache-path "C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api"
- output:
- runCmd: settings set use-color false
- output:
- runCmd: settings set target.env-vars PATH=
- output:
- runBuildCommand make 'VPATH=C:\workspace\llvm-project\lldb\test\API\python_api\thread' -C 'C:\workspace\llvm-project\build\lldb-test-build.noindex\python_api\thread\TestThreadAPI.test_step_over_3_times_dwarf' -I 'C:\workspace\llvm-project\lldb\test\API\python_api\thread' -I 'C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make' -f 'C:\workspace\llvm-project\lldb\test\API\python_api\thread\Makefile' MAKE_DSYM=NO all ARCH=x86_64 'CC="C:\workspace\llvm-project\build\bin\clang.exe"' 'CLANG_MODULE_CACHE_DIR=C:/workspace/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api' LLDB_OBJ_ROOT=C:/workspace/llvm-project/build/tools/lldb CXX_SOURCES=main2.cpp EXE=test_step_over_3_times_dwarf OS=Windows_NT HOST_OS=Windows_NT
- output: make: Entering directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/python_api/thread/TestThreadAPI.test_step_over_3_times_dwarf'
- "C:\workspace\llvm-project\build\bin\clang.exe" -std=c++11 -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\python_api\thread -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fno-exceptions -D_HAS_EXCEPTIONS=0 -fms-compatibility-version=19.0 -std=c++14 --driver-mode=g++ -MT main2.o -MD -MP -MF main2.d -c -o main2.o C:\workspace\llvm-project\lldb\test\API\python_api\thread/main2.cpp
- "C:\workspace\llvm-project\build\bin\clang.exe" main2.o -g -O0 -m64 -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../../include -IC:/workspace/llvm-project/build/tools/lldb/include -IC:\workspace\llvm-project\lldb\test\API\python_api\thread -IC:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -fuse-ld=lld --driver-mode=g++ -o "test_step_over_3_times_dwarf"
- make: Leaving directory 'C:/workspace/llvm-project/build/lldb-test-build.noindex/python_api/thread/TestThreadAPI.test_step_over_3_times_dwarf'
- runCmd: breakpoint list
- output: Current breakpoints:
- 1: file = 'main2.cpp', line = 21, exact_match = 0, locations = 1
- 1.1: where = test_step_over_3_times_dwarf`b + 21 at main2.cpp:21, address = test_step_over_3_times_dwarf[0x0000000140001065], unresolved, hit count = 0
- runCmd: thread backtrace
- output: * thread #1, stop reason = breakpoint 1.1
- * frame #0: 0x00007ff632631065 test_step_over_3_times_dwarf`b(val=1) at main2.cpp:21
- frame #1: 0x00007ff632631018 test_step_over_3_times_dwarf`a(val=1) at main2.cpp:11
- frame #2: 0x00007ff6326310df test_step_over_3_times_dwarf`main(argc=1, argv=0x00000246346e3310) at main2.cpp:36
- frame #3: 0x00007ff6326314a8 test_step_over_3_times_dwarf`__scrt_common_main_seh [inlined] invoke_main at exe_common.inl:288
- frame #4: 0x00007ff632631486 test_step_over_3_times_dwarf`__scrt_common_main_seh at exe_common.inl:288
- frame #5: 0x00007ffc27e0257d kernel32.dll`BaseThreadInitThunk + 29
- frame #6: 0x00007ffc28d6af28 ntdll.dll`RtlUserThreadStart + 40
- runCmd: thread backtrace
- output: * thread #1, stop reason = step over
- * frame #0: 0x00007ff632631097 test_step_over_3_times_dwarf`b(val=1) at main2.cpp:26
- frame #1: 0x00007ff632631018 test_step_over_3_times_dwarf`a(val=1) at main2.cpp:11
- frame #2: 0x00007ff6326310df test_step_over_3_times_dwarf`main(argc=1, argv=0x00000246346e3310) at main2.cpp:36
- frame #3: 0x00007ff6326314a8 test_step_over_3_times_dwarf`__scrt_common_main_seh [inlined] invoke_main at exe_common.inl:288
- frame #4: 0x00007ff632631486 test_step_over_3_times_dwarf`__scrt_common_main_seh at exe_common.inl:288
- frame #5: 0x00007ffc27e0257d kernel32.dll`BaseThreadInitThunk + 29
- frame #6: 0x00007ffc28d6af28 ntdll.dll`RtlUserThreadStart + 40
- --
- Command Output (stderr):
- --
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_StepInstruction_dsym (TestThreadAPI.ThreadAPITestCase.test_StepInstruction_dsym) (test case does not fall in any category of interest for this run)
- FAIL: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_StepInstruction_dwarf (TestThreadAPI.ThreadAPITestCase.test_StepInstruction_dwarf)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_StepInstruction_dwo (TestThreadAPI.ThreadAPITestCase.test_StepInstruction_dwo) (test case does not fall in any category of interest for this run)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_get_process_dsym (TestThreadAPI.ThreadAPITestCase.test_get_process_dsym) (test case does not fall in any category of interest for this run)
- PASS: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_get_process_dwarf (TestThreadAPI.ThreadAPITestCase.test_get_process_dwarf)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_get_process_dwo (TestThreadAPI.ThreadAPITestCase.test_get_process_dwo) (test case does not fall in any category of interest for this run)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_get_stop_description_dsym (TestThreadAPI.ThreadAPITestCase.test_get_stop_description_dsym) (test case does not fall in any category of interest for this run)
- PASS: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_get_stop_description_dwarf (TestThreadAPI.ThreadAPITestCase.test_get_stop_description_dwarf)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_get_stop_description_dwo (TestThreadAPI.ThreadAPITestCase.test_get_stop_description_dwo) (test case does not fall in any category of interest for this run)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_negative_indexing_dsym (TestThreadAPI.ThreadAPITestCase.test_negative_indexing_dsym) (test case does not fall in any category of interest for this run)
- PASS: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_negative_indexing_dwarf (TestThreadAPI.ThreadAPITestCase.test_negative_indexing_dwarf)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_negative_indexing_dwo (TestThreadAPI.ThreadAPITestCase.test_negative_indexing_dwo) (test case does not fall in any category of interest for this run)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_run_to_address_dsym (TestThreadAPI.ThreadAPITestCase.test_run_to_address_dsym) (test case does not fall in any category of interest for this run)
- PASS: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_run_to_address_dwarf (TestThreadAPI.ThreadAPITestCase.test_run_to_address_dwarf)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_run_to_address_dwo (TestThreadAPI.ThreadAPITestCase.test_run_to_address_dwo) (test case does not fall in any category of interest for this run)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_step_out_of_malloc_into_function_b_dsym (TestThreadAPI.ThreadAPITestCase.test_step_out_of_malloc_into_function_b_dsym) (test case does not fall in any category of interest for this run)
- XFAIL: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_step_out_of_malloc_into_function_b_dwarf (TestThreadAPI.ThreadAPITestCase.test_step_out_of_malloc_into_function_b_dwarf)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_step_out_of_malloc_into_function_b_dwo (TestThreadAPI.ThreadAPITestCase.test_step_out_of_malloc_into_function_b_dwo) (test case does not fall in any category of interest for this run)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_step_over_3_times_dsym (TestThreadAPI.ThreadAPITestCase.test_step_over_3_times_dsym) (test case does not fall in any category of interest for this run)
- PASS: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_step_over_3_times_dwarf (TestThreadAPI.ThreadAPITestCase.test_step_over_3_times_dwarf)
- UNSUPPORTED: LLDB (C:\workspace\llvm-project\build\bin\clang.exe-x86_64) :: test_step_over_3_times_dwo (TestThreadAPI.ThreadAPITestCase.test_step_over_3_times_dwo) (test case does not fall in any category of interest for this run)
- ======================================================================
- FAIL: test_StepInstruction_dwarf (TestThreadAPI.ThreadAPITestCase.test_StepInstruction_dwarf)
- Test that StepInstruction preserves the plan stack.
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 1761, in test_method
- return attrvalue(self)
- ^^^^^^^^^^^^^^^
- File "C:\workspace\llvm-project\lldb\test\API\python_api\thread\TestThreadAPI.py", line 58, in test_StepInstruction
- self.step_instruction_in_called_function()
- File "C:\workspace\llvm-project\lldb\test\API\python_api\thread\TestThreadAPI.py", line 334, in step_instruction_in_called_function
- self.assertRegex(
- AssertionError: Regex didn't match: '.*call_me\\(bool\\)$' not found in 'main' : Stopped in call_me(bool)
- Config=x86_64-C:\workspace\llvm-project\build\bin\clang.exe
- ----------------------------------------------------------------------
- Ran 21 tests in 6.218s
- FAILED (failures=1, skipped=14, expected failures=1)
- --
- ********************
- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
- ********************
- Unresolved Tests (3):
- lldb-api :: lang/cpp/char1632_t/TestChar1632T.py
- lldb-api :: lang/cpp/char8_t/TestCxxChar8_t.py
- lldb-api :: lang/cpp/wchar_t/TestCxxWCharT.py
- ********************
- Failed Tests (1):
- lldb-api :: python_api/thread/TestThreadAPI.py
- Testing Time: 85.30s
- Total Discovered Tests: 1191
- Unsupported : 654 (54.91%)
- Passed : 518 (43.49%)
- Expectedly Failed: 15 (1.26%)
- Unresolved : 3 (0.25%)
- Failed : 1 (0.08%)
- FAILED: tools/lldb/test/API/CMakeFiles/check-lldb-api C:/workspace/llvm-project/build/tools/lldb/test/API/CMakeFiles/check-lldb-api
- C:\WINDOWS\system32\cmd.exe /C "cd /D C:\workspace\llvm-project\build\tools\lldb\test\API && "C:\Program Files\Python312\python.exe" C:/workspace/llvm-project/build/./bin/llvm-lit.py -sv C:/workspace/llvm-project/build/tools/lldb/test/API"
- ninja: build stopped: subcommand failed.
- C:\workspace\llvm-project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement