[llvm] [llvm-objdump] Fix lma display issue for non-bss sections (PR #72141)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 23 00:12:52 PST 2023


================
@@ -163,6 +163,49 @@ static inline Error defaultWarningHandler(const Twine &Msg) {
   return createError(Msg);
 }
 
+template <class ELFT>
+static bool checkOffsets(const typename ELFT::Phdr &Phdr,
----------------
jh7370 wrote:

Correct me if I'm wrong, but isn't the `static` on a `static` template function in a header pointless?

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


More information about the llvm-commits mailing list