================
@@ -8998,9 +9003,14 @@ template <class ELFT> void 
LLVMELFDumper<ELFT>::printStackSizes() {
 
 template <class ELFT>
 void LLVMELFDumper<ELFT>::printStackSizeEntry(uint64_t Size,
-                                              ArrayRef<std::string> FuncNames) 
{
+                                              ArrayRef<std::string> FuncNames,
+                                              uint64_t Address) {
   DictScope D(W, "Entry");
   W.printList("Functions", FuncNames);
+  // Print the address only for a linked file. In a relocatable file the value
+  // stored in the entry is just the implicit addend of its relocation.
----------------
jh7370 wrote:

The reference to implicit addend is misleading for objects that use SHT_RELA, 
so this comment is incorrect.

https://github.com/llvm/llvm-project/pull/232331
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to