[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:20:42 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `cross-project-tests-sie-ubuntu-dwarf5` running on `doug-worker-1b` while building `lldb` at step 6 "test-build-unified-tree-check-cross-project".

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

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-cross-project) failure: test (failure)
******************** TEST 'cross-project-tests :: debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 14: clang++ -O0 -glldb -std=gnu++11 /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp -o /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/projects/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/Output/address_printing.cpp.tmp
+ clang++ -O0 -glldb -std=gnu++11 /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp -o /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/projects/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/Output/address_printing.cpp.tmp
RUN: at line 15: not "/usr/bin/python3.10" "/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/dexter.py" test --fail-lt 1.0 -w --debugger lldb --binary /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/projects/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/Output/address_printing.cpp.tmp -v -- /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp | /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/bin/FileCheck /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp
+ not /usr/bin/python3.10 /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/dexter.py test --fail-lt 1.0 -w --debugger lldb --binary /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/projects/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/Output/address_printing.cpp.tmp -v -- /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp
+ /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/bin/FileCheck /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp:34:16: error: CHECK-NEXT: expected string not found in input
// CHECK-NEXT: (0x[[Y_VAL]]): step 4
               ^
<stdin>:37:20: note: scanning from here
 misordered result:
                   ^
<stdin>:37:20: note: with "Y_VAL" equal to "000055555556aed0"
 misordered result:
                   ^
<stdin>:38:16: note: possible intended match here
 (0x000055555556aed0): step 6 [-3]
               ^

Input file: <stdin>
Check file: /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            1: address_printing.cpp: (0.5714) 
            2:  
            3: ## BEGIN ## 
            4: [1, "main", "/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp", 38, 14, "StopReason.BREAKPOINT", "StepKind.FUNC", []] 
            5: [2, "operator new(unsigned long)", null, 4294967295, 0, "StopReason.STEP", "StepKind.VERTICAL_FORWARD", []] 
            6: [3, "main", "/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp", 39, 14, "StopReason.BREAKPOINT", "StepKind.VERTICAL_BACKWARD", []] 
            7: [4, "operator new(unsigned long)", null, 4294967295, 0, "StopReason.STEP", "StepKind.VERTICAL_FORWARD", []] 
            8: [5, "main", "/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp", 43, 14, "StopReason.BREAKPOINT", "StepKind.VERTICAL_BACKWARD", []] 
            9: [6, "main", "/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp", 44, 9, "StopReason.BREAKPOINT", "StepKind.VERTICAL_FORWARD", []] 
           10: [7, "main", "/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp", 45, 12, "StopReason.BREAKPOINT", "StepKind.VERTICAL_FORWARD", []] 
           11: [8, "operator delete(void*)", null, 4294967295, 0, "StopReason.STEP", "StepKind.VERTICAL_FORWARD", []] 
           12: [9, "main", "/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp", 46, 12, "StopReason.BREAKPOINT", "StepKind.VERTICAL_BACKWARD", []] 
           13: . [10, "operator delete(void*)", null, 4294967295, 0, "StopReason.STEP", "StepKind.FUNC_UNKNOWN", []] 
           14: [11, "main", "/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/address_printing.cpp", 47, 1, "StopReason.BREAKPOINT", "StepKind.VERTICAL_FORWARD", []] 
           15: ## END (11 steps) ## 
           16:  
           17:  
           18: Resolved Addresses: 
check:17       ^~~~~~~~~~~~~~~~~~~
           19:  'x_2': 0x000055555556aeb0 
...

```

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


More information about the lldb-commits mailing list