[llvm] [DebugInfo][DWARF] Set is_stmt on first non-line-0 instruction in BB (PR #105524)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 03:49:21 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-4` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: DebugInfo/Generic/is_stmt-at-block-start.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 6: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/llc -O0 -filetype=obj < /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/DebugInfo/Generic/is_stmt-at-block-start.ll | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/llvm-dwarfdump --debug-line - | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/DebugInfo/Generic/is_stmt-at-block-start.ll
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/llc -O0 -filetype=obj
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/llvm-dwarfdump --debug-line -
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/DebugInfo/Generic/is_stmt-at-block-start.ll
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/DebugInfo/Generic/is_stmt-at-block-start.ll:9:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: {{0x[0-9a-f]+}} 13 5 {{.+}} is_stmt
              ^
<stdin>:37:40: note: scanning from here
0x000000000000000c 13 5 1 0 0 0 is_stmt prologue_end
                                       ^
<stdin>:39:8: note: possible intended match here
0x0000000000000014 13 5 1 0 0 0 
       ^

Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/DebugInfo/Generic/is_stmt-at-block-start.ll

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

Input was:
<<<<<<
          1: -: file format Mach-O arm64 
          2:  
          3: .debug_line contents: 
          4: debug_line[0x00000000] 
          5: Line table prologue: 
          6:  total_length: 0x00000045 
          7:  format: DWARF32 
          8:  version: 4 
          9:  prologue_length: 0x00000020 
         10:  min_inst_length: 1 
         11: max_ops_per_inst: 1 
         12:  default_is_stmt: 1 
         13:  line_base: -5 
         14:  line_range: 14 
         15:  opcode_base: 13 
         16: standard_opcode_lengths[DW_LNS_copy] = 0 
         17: standard_opcode_lengths[DW_LNS_advance_pc] = 1 
         18: standard_opcode_lengths[DW_LNS_advance_line] = 1 
         19: standard_opcode_lengths[DW_LNS_set_file] = 1 
         20: standard_opcode_lengths[DW_LNS_set_column] = 1 
         21: standard_opcode_lengths[DW_LNS_negate_stmt] = 0 
         22: standard_opcode_lengths[DW_LNS_set_basic_block] = 0 
         23: standard_opcode_lengths[DW_LNS_const_add_pc] = 0 
         24: standard_opcode_lengths[DW_LNS_fixed_advance_pc] = 1 
...

```

</details>

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


More information about the llvm-commits mailing list