================
@@ -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.
----------------
Prabhuk wrote:

Right. Removed the comment and the Address is printed only if it is passed 
which is true only for linked files. PTAL.

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