[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 09:48:06 PDT 2014


================
Comment at: source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp:210

----------------
I think this should be fine (and will test in a moment):
version_major = version_info / 100000;
version_minor = (version_info / 1000) % 100;

But something's odd with LLDB's FreeBSD platform triples - it reports -freebsd10.0 on my FreeBSD 11-current laptop, and -freebsd9.1 on my FreeBSD 9.2 desktop.

http://reviews.llvm.org/D4302






More information about the lldb-commits mailing list