[llvm] [llvm-readobj] Dump callgraph section info for ELF (PR #157499)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 24 00:32:17 PST 2025


================
@@ -47,7 +48,10 @@
 #include "llvm/Support/ARMBuildAttributes.h"
 #include "llvm/Support/Casting.h"
 #include "llvm/Support/Compiler.h"
+#include "llvm/Support/DataExtractor.h"
+#include "llvm/Support/Debug.h"
 #include "llvm/Support/Endian.h"
+#include "llvm/Support/Error.h"
----------------
jh7370 wrote:

Error.h is almost certainly not needed explicitly, given `Error` and `Expected` are already widely in use. (https://llvm.org/docs/CodingStandards.html#include-as-little-as-possible, specifically the bit about being able to include headers implicitly via other headers).

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


More information about the llvm-commits mailing list