[Lldb-commits] [PATCH] Update ObjectFileELF to detect ELF triple based on ELF notes and the ELF header.
Ed Maste
emaste at freebsd.org
Thu Jun 26 14:52:34 PDT 2014
================
Comment at: source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp:2565
@@ -2311,3 +2564,3 @@
{
- if (!ParseHeader())
+ if (!ParseHeader() || !ParseSectionHeaders())
return false;
----------------
After a lengthy debugging session it turns out this is the change that breaks core file loading on FreeBSD. The core file has no sections (the core data and thread / register notes are in program segments), so ParseSectionHeaders() returns 0.
http://reviews.llvm.org/D4302
More information about the lldb-commits
mailing list