[llvm] [llvm-gsymutil] Fix dumping of call sites for merged functions (PR #119759)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 17:13:27 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-expensive-checks-ubuntu` running on `as-builder-4` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

<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 :: tools/llvm-gsymutil/ARM_AArch64/macho-gsym-merged-callsites-dsym.yaml' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
Input file: /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/test/tools/llvm-gsymutil/ARM_AArch64/Output/macho-gsym-merged-callsites-dsym.yaml.tmp/merged_callsites.dSYM
Output file (aarch64): /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/test/tools/llvm-gsymutil/ARM_AArch64/Output/macho-gsym-merged-callsites-dsym.yaml.tmp/call_sites_dSYM.gsym
error: line table has addresses that do not monotonically increase:
0x0000000100000338     12     15      1   0             0       0  is_stmt prologue_end
0x000000010000033c     13     20      1   0             0       0  is_stmt
0x0000000100000340     14     19      1   0             0       0  is_stmt
0x0000000100000348     15      5      1   0             0       0  is_stmt
0x0000000100000348     15      5      1   0             0       0  is_stmt end_sequence
0x0000000100000338      5     15      1   0             0       0  is_stmt prologue_end
0x000000010000033c      6     20      1   0             0       0  is_stmt
0x0000000100000340      7     19      1   0             0       0  is_stmt
0x0000000100000348      8      5      1   0             0       0  is_stmt
0x0000000100000348      8      5      1   0             0       0  is_stmt end_sequence

0x0000004f: DW_TAG_subprogram
              DW_AT_low_pc	(0x0000000100000338)
              DW_AT_high_pc	(0x000000010000034c)
              DW_AT_APPLE_omit_frame_ptr	(true)
              DW_AT_LLVM_stmt_sequence	(0x0000003b)
              DW_AT_frame_base	(DW_OP_reg31)
              DW_AT_call_all_calls	(true)
              DW_AT_name	("function4_copy1")
              DW_AT_decl_file	("/tmp/tst/out/merged_funcs_test.cpp")
              DW_AT_decl_line	(4)
              DW_AT_type	(0x0000000000000048 "int")
              DW_AT_external	(true)
              DW_AT_APPLE_optimized	(true)
error: line table has addresses that do not monotonically increase:
0x0000000100000338     12     15      1   0             0       0  is_stmt prologue_end
0x000000010000033c     13     20      1   0             0       0  is_stmt
0x0000000100000340     14     19      1   0             0       0  is_stmt
0x0000000100000348     15      5      1   0             0       0  is_stmt
0x0000000100000348     15      5      1   0             0       0  is_stmt end_sequence
0x0000000100000338      5     15      1   0             0       0  is_stmt prologue_end
0x000000010000033c      6     20      1   0             0       0  is_stmt
0x0000000100000340      7     19      1   0             0       0  is_stmt
0x0000000100000348      8      5      1   0             0       0  is_stmt
0x0000000100000348      8      5      1   0             0       0  is_stmt end_sequence

0x0000009a: DW_TAG_subprogram
              DW_AT_low_pc	(0x0000000100000338)
              DW_AT_high_pc	(0x000000010000034c)
              DW_AT_APPLE_omit_frame_ptr	(true)
              DW_AT_LLVM_stmt_sequence	(0x00000056)
              DW_AT_frame_base	(DW_OP_reg31)
...

```

</details>

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


More information about the llvm-commits mailing list