[Lldb-commits] [lldb] Turn off instruction flow control annotations by default (PR #84607)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 11 12:22:35 PDT 2024
PiJoules wrote:
Hi, I suspect this led to the test failure we're seeing at https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8753741062398610017/overview.
```
Script:
--
/b/s/w/ir/x/w/lldb_install/python3/bin/python3 /b/s/w/ir/x/w/llvm-llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env ARCHIVER=/b/s/w/ir/x/w/cipd/bin/llvm-ar --env OBJCOPY=/b/s/w/ir/x/w/cipd/bin/llvm-objcopy --env LLVM_LIBS_DIR=/b/s/w/ir/x/w/llvm_build/./lib --env LLVM_INCLUDE_DIR=/b/s/w/ir/x/w/llvm_build/include --env LLVM_TOOLS_DIR=/b/s/w/ir/x/w/llvm_build/./bin --libcxx-include-dir /b/s/w/ir/x/w/llvm_build/include/c++/v1 --libcxx-include-target-dir /b/s/w/ir/x/w/llvm_build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /b/s/w/ir/x/w/llvm_build/./lib/x86_64-unknown-linux-gnu --arch x86_64 --build-dir /b/s/w/ir/x/w/llvm_build/lldb-test-build.noindex --lldb-module-cache-dir /b/s/w/ir/x/w/llvm_build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /b/s/w/ir/x/w/llvm_build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /b/s/w/ir/x/w/llvm_build/./bin/lldb --compiler /b/s/w/ir/x/w/llvm_build/./bin/clang --dsymutil /b/s/w/ir/x/w/llvm_build/./bin/dsymutil --llvm-tools-dir /b/s/w/ir/x/w/llvm_build/./bin --lldb-libs-dir /b/s/w/ir/x/w/llvm_build/./lib /b/s/w/ir/x/w/llvm-llvm-project/lldb/test/API/functionalities/data-formatter/builtin-formats -p TestBuiltinFormats.py
--
Exit Code: 1
Command Output (stdout):
--
lldb version 19.0.0git (https://llvm.googlesource.com/a/llvm-project revision 8467457afc61d70e881c9817ace26356ef757733)
clang revision 8467457afc61d70e881c9817ace26356ef757733
llvm revision 8467457afc61d70e881c9817ace26356ef757733
Skipping the following test categories: ['dsym', 'gmodules', 'debugserver', 'objc']
--
Command Output (stderr):
--
PASS: LLDB (/b/s/w/ir/x/w/llvm_build/bin/clang-x86_64) :: test (TestBuiltinFormats.TestCase.test)
PASS: LLDB (/b/s/w/ir/x/w/llvm_build/bin/clang-x86_64) :: testAllPlatforms (TestBuiltinFormats.TestCase.testAllPlatforms)
FAIL: LLDB (/b/s/w/ir/x/w/llvm_build/bin/clang-x86_64) :: test_instruction (TestBuiltinFormats.TestCase.test_instruction)
PASS: LLDB (/b/s/w/ir/x/w/llvm_build/bin/clang-x86_64) :: test_pointer (TestBuiltinFormats.TestCase.test_pointer)
======================================================================
FAIL: test_instruction (TestBuiltinFormats.TestCase.test_instruction)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/b/s/w/ir/x/w/llvm-llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 150, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/b/s/w/ir/x/w/llvm-llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 450, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/b/s/w/ir/x/w/llvm-llvm-project/lldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py", line 310, in test_instruction
self.assertIn(
AssertionError: ' addq 0xa(%rdi), %r8\n' not found in '(int) $0 = addq 0xa(%rdi), %r8\n'
Config=x86_64-/b/s/w/ir/x/w/llvm_build/bin/clang
----------------------------------------------------------------------
Ran 4 tests in 0.541s
FAILED (failures=1)
--
```
Could you take a look and send out a fix or revert? Thanks.
https://github.com/llvm/llvm-project/pull/84607
More information about the lldb-commits
mailing list