[Lldb-commits] [PATCH] Update ObjectFileELF to detect ELF triple based on ELF notes and the ELF header.

Todd Fiala tfiala at google.com
Thu Jun 26 09:49:58 PDT 2014


> It's called osreldate but is actually the version information - for
> example, on my desktop running FreeBSD 9.2-STABLE branch:
> +-+-+-+-+-+-+-+
> |  9|0 2|5 0 9|
> +-+-+-+-+-+-+-+
>  Maj Min Rxx
 
Ok cool - that gives me everything I need.  So for me down below, it would be Maj = 10, Min = 0, Rxx is 510.

<lldb.driver.main-thread> ObjectFileELF::RefineModuleDetailsFromNote parsing note name='FreeBSD', type=1
<lldb.driver.main-thread> ObjectFileELF::RefineModuleDetailsFromNote detected FreeBSD, min version constant 1000510

I'll update the patch for that.

http://reviews.llvm.org/D4302






More information about the lldb-commits mailing list