[PATCH] D143841: [Propeller] Make decoding BBAddrMaps trace through relocations

Aiden Grossman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 11 23:35:56 PST 2023


aidengrossman added reviewers: tmsriram, rahmanl.
aidengrossman added a comment.

This patch is designed to allow tracing through relocations with the basic block address infrastructure currently in `llvm-readobj` and `llvm-objdump`. Currently when using relocatable object files with these tools with basic block sections, the tools almost don't work at all (`llvm-objdump` with `--symbolize-operands` will work quite poorly not showing most of the basic block labels), to not having the intended functionality (ie all function addresses in `llvm-readobj --bb-addr-map` are zero and the name mapping is not right, always mapping to the first function name). This patch fixes that functionality. I'm not completely sure I've taken the right approach here as I'm not too familiar with this section of the code base, so please let me know if there is some common infrastructure or some different approach I should be taking.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143841/new/

https://reviews.llvm.org/D143841



More information about the llvm-commits mailing list