Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: 0a9d9ffc by Sylvain Henry at 2025-09-19T13:12:14-04:00 Fix output of T14999 (#23685) Fix output of T14999 to: - take into account the +1 offset to DW_AT_low_pc (see Note [Info Offset]) - always use Intel's syntax to force consistency: it was reported that sometimes GDB prints `jmpq` instead of `jmp` with the AT&T syntax - - - - - 2 changed files: - testsuite/tests/codeGen/should_compile/Makefile - testsuite/tests/codeGen/should_compile/T14999.stdout Changes: ===================================== testsuite/tests/codeGen/should_compile/Makefile ===================================== @@ -36,7 +36,7 @@ T13233_orig: T14999: '$(TEST_HC)' $(TEST_HC_OPTS) -O2 -g -c T14999.cmm -o T14999.o - gdb --batch -ex 'file T14999.o' -ex 'disassemble stg_catch_frame_info' --nx | tr -s '[[:blank:]\n]' + gdb --batch -ex 'set disassembly-flavor intel' -ex 'file T14999.o' -ex 'disassemble stg_catch_frame_info' --nx | tr -s '[[:blank:]\n]' LANG=C readelf --debug-dump=frames-interp T14999.o | tr -s '[[:blank:]\n]' T15196: ===================================== testsuite/tests/codeGen/should_compile/T14999.stdout ===================================== @@ -1,6 +1,6 @@ Dump of assembler code for function stg_catch_frame_info: - 0x0000000000000010 <+0>: add $0x18,%rbp - 0x0000000000000014 <+4>: jmpq *0x0(%rbp) + 0x0000000000000010 <+1>: add rbp,0x18 + 0x0000000000000014 <+5>: jmp QWORD PTR [rbp+0x0] End of assembler dump. Contents of the .debug_frame section: 00000000 0000000000000014 ffffffff CIE "" cf=1 df=-8 ra=16 View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/0a9d9ffc7a8a62db177bfd3b2fbb7fc7... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/0a9d9ffc7a8a62db177bfd3b2fbb7fc7... You're receiving this email because of your account on gitlab.haskell.org.