[llvm] [llvm-objdump][ELF]Fix crash when reading strings from .dynstr (PR #125679)

Ruoyu Qiu via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 11 03:03:08 PST 2025


================
@@ -14,8 +14,11 @@
 #include "ELFDump.h"
 
 #include "llvm-objdump.h"
+#include "llvm/BinaryFormat/ELF.h"
----------------
cabbaken wrote:

I will remove the unneeded headers. Clangd add the headers automatically and I'm sorry for didn't notice that.

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


More information about the llvm-commits mailing list