https://github.com/wlei-llvm updated 
https://github.com/llvm/llvm-project/pull/124333

>From 0f1f43a5f19d4055c1896a70e050965b4d309790 Mon Sep 17 00:00:00 2001
From: wlei <w...@fb.com>
Date: Wed, 12 Feb 2025 22:03:21 -0800
Subject: [PATCH] remove irrelevant code

Created using spr 1.3.6-beta.1
---
 llvm/tools/llvm-readobj/ELFDumper.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/llvm/tools/llvm-readobj/ELFDumper.cpp 
b/llvm/tools/llvm-readobj/ELFDumper.cpp
index 5f8c4613dd79f..fcd9842fd1cac 100644
--- a/llvm/tools/llvm-readobj/ELFDumper.cpp
+++ b/llvm/tools/llvm-readobj/ELFDumper.cpp
@@ -7961,10 +7961,6 @@ template <class ELFT> void 
LLVMELFDumper<ELFT>::printFuncMaps() {
       continue;
     }
     for (const auto &AM : *FuncMapOrErr) {
-      // Do not print dead entry where the functon address is zero.
-      if (!AM.getFunctionAddress())
-        continue;
-
       DictScope D(W, "Function");
       W.printHex("At", AM.getFunctionAddress());
       SmallVector<uint32_t> FuncSymIndex =

_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to