[Lldb-commits] [lldb] [LLDB] Impove ObjectFileELF's .dynamic parsing and usage. (PR #101237)

LLVM Continuous Integration via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 8 11:26:03 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lldb-aarch64-ubuntu` running on `linaro-lldb-aarch64-ubuntu` while building `lldb` at step 6 "test".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/59/builds/2872

Here is the relevant piece of the build log for the reference:
```
Step 6 (test) failure: build (failure)
...
PASS: lldb-api :: commands/command/script/add/TestAddParsedCommand.py (30 of 2003)
PASS: lldb-api :: commands/command/script/import/TestImport.py (31 of 2003)
PASS: lldb-api :: commands/command/backticks/TestBackticksInAlias.py (32 of 2003)
PASS: lldb-api :: commands/command/script/import/rdar-12586188/TestRdar12586188.py (33 of 2003)
PASS: lldb-api :: commands/command/script_alias/TestCommandScriptAlias.py (34 of 2003)
PASS: lldb-api :: commands/command/source/TestCommandSource.py (35 of 2003)
PASS: lldb-api :: api/listeners/TestListener.py (36 of 2003)
PASS: lldb-api :: commands/disassemble/basic/TestDisassembleBreakpoint.py (37 of 2003)
PASS: lldb-api :: commands/disassemble/basic/TestFrameDisassemble.py (38 of 2003)
PASS: lldb-api :: commands/expression/calculator_mode/TestCalculatorMode.py (39 of 2003)
FAIL: lldb-api :: commands/expression/anonymous-struct/TestCallUserAnonTypedef.py (40 of 2003)
******************** TEST 'lldb-api :: commands/expression/anonymous-struct/TestCallUserAnonTypedef.py' FAILED ********************
Script:
--
/usr/bin/python3.8 /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env ARCHIVER=/usr/local/bin/llvm-ar --env OBJCOPY=/usr/bin/llvm-objcopy --env LLVM_LIBS_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./lib --env LLVM_INCLUDE_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/include --env LLVM_TOOLS_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin --arch aarch64 --build-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex --lldb-module-cache-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/lldb --compiler /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/clang --dsymutil /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/dsymutil --llvm-tools-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin --lldb-obj-root /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/tools/lldb --lldb-libs-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./lib /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/commands/expression/anonymous-struct -p TestCallUserAnonTypedef.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 20.0.0git (https://github.com/llvm/llvm-project.git revision 28ba8a56b6fb9ec61897fa84369f46e43be94c03)
  clang revision 28ba8a56b6fb9ec61897fa84369f46e43be94c03
  llvm revision 28ba8a56b6fb9ec61897fa84369f46e43be94c03
Skipping the following test categories: ['libc++', 'dsym', 'gmodules', 'debugserver', 'objc']

--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang-aarch64) :: test_dsym (TestCallUserAnonTypedef.TestExprLookupAnonStructTypedef) (test case does not fall in any category of interest for this run) 
FAIL: LLDB (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang-aarch64) :: test_dwarf (TestCallUserAnonTypedef.TestExprLookupAnonStructTypedef)
FAIL: LLDB (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang-aarch64) :: test_dwo (TestCallUserAnonTypedef.TestExprLookupAnonStructTypedef)
======================================================================
FAIL: test_dwarf (TestCallUserAnonTypedef.TestExprLookupAnonStructTypedef)
   Test typedeffed untagged struct arguments for function call expressions
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1758, in test_method
    return attrvalue(self)
  File "/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/commands/expression/anonymous-struct/TestCallUserAnonTypedef.py", line 23, in test
    self.expect_expr("multiply(&s)", result_type="double", result_value="1")
  File "/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2514, in expect_expr
    value_check.check_value(self, eval_result, str(eval_result))
  File "/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 300, in check_value
    test_base.assertSuccess(val.GetError())
  File "/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2549, in assertSuccess
    self.fail(self._formatMessage(msg, "'{}' is not success".format(error)))
AssertionError: 'error: Can't evaluate the expression without a running target due to: Interpreter doesn't handle one of the expression's opcodes
' is not success
Config=aarch64-/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang

```

https://github.com/llvm/llvm-project/pull/101237


More information about the lldb-commits mailing list