[Lldb-commits] [lldb] [LLDB, x86, FreeBSD] Fix Architecture parsing by reading the ELF header. (PR #162811)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 10 10:22:39 PDT 2025
================
@@ -14,12 +14,13 @@
#include <sys/sysctl.h>
#include <sys/user.h>
-#include <machine/elf.h>
-
#include <cstdio>
#include <dlfcn.h>
#include <execinfo.h>
+#include "llvm/Object/ELF.h"
----------------
aokblast wrote:
I totally fix the issue for i386 on x86_64 platform. Also includes this suggestion. Thanks!
https://github.com/llvm/llvm-project/pull/162890
https://github.com/llvm/llvm-project/pull/162811
More information about the lldb-commits
mailing list