This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Incomplete/wrong debug information in AXF file produced by Arm Compiler 6.18?

When running llvm-dwarfdump --verify Application.axf I get many "DIE address ranges are not contained in its parent's ranges" and "DIEs have overlapping address ranges" errors.

The first one seems to be due to incomplete entries in the .debug_ranges section, e.g.:

Also, there are many entries in .debug_ranges that only contain <End of list>.

The second error is due to many functions reported to be located at address 0:

I believe this is the reason that various implementations of the addr2line utility, GDB and LLDB cannot resolve the source code line numbers for certain addresses.

Might this be a bug in Arm Compiler 6 or am I missing something?

Any help is highly appreciated.

Cheers,

Ezra

0