adonis0147 opened a new issue, #9676: URL: https://github.com/apache/incubator-doris/issues/9676
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Description This issue proposes two changes to improve debugging experience. 1. Use `lld` to speed the link time of `doris_be_test` up. 2. Explicitly set the version of `dwarf` to use debug info in `dwarf-5` format which is the latest and has numerous minor additions to improve functionality and performance. Foregoings are _**NOT**_ mandatory. **REMARK** GCC 11.0+ produces DWARF debugging information in `dwarf-5` by default if it was built against binutils version 2.35.2 or higher according to [GCC 11 Release Note](https://gcc.gnu.org/gcc-11/changes.html). GCC 11.1 in [ldb toolchain](https://github.com/amosbird/ldb_toolchain_gen) may be built against binutils with earlier version, hence, it doesn't produces the debugging information in version 5. ### Solution 1. Use `lld` to speed the link time of `doris_be_test` up. 2. Explicitly set the version of `dwarf` to use debug info in `dwarf-5`. ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
