[Lldb-commits] [PATCH] Update ObjectFileELF to detect ELF triple based on ELF notes and the ELF header.
Todd Fiala
tfiala at google.com
Wed Jun 25 17:12:04 PDT 2014
Hi emaste,
This change modifies how ObjectFileELF determines the architecture of an ELF file. It no longer assumes the elf file's vendor and OS is the same as the current host. It is one step in supporting running lldb across MacOSX/Linux/FreeBSD/NetBSD.
The current ELF note parsing added supports checking for a FreeBSD, Linux, and NetBSD ABI note. If found, the OS is set appropriately. The previously-existing GNU UUID note parsing code has been incorporated into the broader note-parsing code provided here.
http://reviews.llvm.org/D4302
Files:
source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
source/Plugins/ObjectFile/ELF/ObjectFileELF.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4302.10864.patch
Type: text/x-patch
Size: 21178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140626/3d16e0ff/attachment.bin>
More information about the lldb-commits
mailing list