gas: Name the CU after the primary source file
Reviewer confirms extensive testing for the gas patch and agrees to commit it.
Following initial review and a request for more extensive testing, the patch author provided results from running the gas testsuite across 121 configurations. The reviewer, Jan Beulich, acknowledges this comprehensive testing and agrees to commit the patch, noting a slight delay is expected.
- reviewer
Agrees to commit the patch after confirming that the author ran the full gas testsuite across 121 configurations, validating the change.
“Thanks. Will do, but please be patient. This is very unlikely to happen before the end of the week.”
- proposer
Provided extensive test results covering 121 configurations for the gas patch after the reviewer requested broader validation.
“I have now run the full gas testsuite with and without the patch on top of master bc3e31b590dd, for 121 configurations on an x86_64-linux-gnu host. Together they cover every ELF-capable CPU in gas/configure.tgt; 117 of them run elf.exp (list below), and the other four are bpf-none, i686-vxworks, mmix and x86_64-w64-mingw32. The two new tests pass on all 117, and no other test changes its result o…”
Technical Tradeoffs
- Improving debug information accuracy can aid developers but might introduce subtle changes in build outputs.
- Ensuring comprehensive test coverage across diverse configurations is crucial for robust changes but can be time-consuming.
In Details
This discussion concerns a patch for the GNU Assembler (gas) that modifies how the Compilation Unit (CU) debug information is named. Specifically, it aims to name the CU after the primary source file, which is a change to how DWARF debug info is generated. The patch has undergone review, with concerns raised about test coverage. The author subsequently provided extensive test results across numerous configurations, leading to the reviewer's agreement to commit.
- gas
- The GNU Assembler, which translates assembly language code into machine code.
- Compilation Unit (CU)
- In debugging contexts (like DWARF), a CU represents a single source file that has been compiled.
- DWARF
- A debugging data format used by many compilers and debuggers to represent information about program variables, types, and structure for debugging purposes.
- ELF
- Executable and Linkable Format, the standard object file format used by GNU/Linux systems.
- testsuite
- A collection of tests designed to verify the correctness of a software component or system.