[llvm-branch-commits] [llvm] [llvm-readobj][ELF] Print the address of each --stack-sizes entry (PR #232331)

Prabhu Rajasekaran via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Oct 15 15:47:55 PDT 2026


================
@@ -368,8 +368,12 @@ template <typename ELFT> class ELFDumper : public ObjDumper {
                       unsigned Ndx, const Elf_Shdr *SymTab,
                       const Elf_Shdr *FunctionSec, const Elf_Shdr &StackSizeSec,
                       const RelocationResolver &Resolver, DataExtractor Data);
+  // Prints a stack size entry. Address is the function's address: the value
+  // stored in the entry in a linked file, or the value that its relocation
+  // resolves to in a relocatable file.
----------------
Prabhuk wrote:

Nice. Done. Thank you.

https://github.com/llvm/llvm-project/pull/232331


More information about the llvm-branch-commits mailing list