Linux Hardware Project

Results 84 comments of Linux Hardware Project

Hi, Only via abi-dumper: https://github.com/lvc/abi-compliance-checker#usage You can compile your binaries by clang (enable debug-info), dump ABIs by abi-dumper and compare ABI dumps by abi-compliance-checker.

OK if using https://github.com/lvc/abi-dumper to create ABI dumps from binaries compiled by GCC 9. Not OK if you need to create ABI dumps by abi-compliance-checker and GCC due to bug...

Hello! Is it optimized out from the binary by the compiler?

It is not part of the stripped binary. But I mean the binary with debug-info (extra `.debug_info` section). Let's check this by: abi-dumper ./your_library.so --extra-info=./DEBUG_DUMP grep -nR your_struct_type_name ./DEBUG_DUMP

If it's not part of the debug-info then `abi-dumper` cannot extract it. Probably the compiler (GCC, Clang, etc.) can have an option to include such data types to the debug-info...

It works for me. Probably we need to add this option to abi-dumper documentation near the `-g -Og`.

Hi! Thanks for the report! Could you please attach the eu-readelf output?

Also please share output of `--debug-dump=loc` for your object.

The patch for the first part of the request looks reasonable. Would you like to create a pull request?

Why this is bad? Just install both simultaneously.