[PATCH] D44899: [ELF] - Print LMA in a -Map file.

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 27 10:40:37 PDT 2018


peter.smith added a comment.

It can be very useful when developing embedded systems.  There is often a case where the load address of an output section is in flash and it is copied to a different execution address in sdram. Seeing the load address in the map file can be useful when debugging problems, especially when the device won't boot up. It is probably sufficient to give the LMA of each OutputSection as the LMA of the input sections can be derived from it.


https://reviews.llvm.org/D44899





More information about the llvm-commits mailing list