[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 08:48:59 PDT 2014


> Last night I discovered that the triple is x86_64-unknown-freebsd with the patch, and x86_64-unknown-freebsd10.0 without. The latter matches the platform triple reported by platform status.

Interesting.  I'll need to get that to correspond.

I'm adjusting the triple with llvm::Triple::setOS().  I don't see a llvm::Triple::OSType for FreeBSD10.0?  (i.e. is it not possible to build that triple with the llvm code? Shouldn't it be? Maybe the OS version somehow needs to get appended on that - looking at the details of Triple now...)

Hey Ed - how do I interpret the payload 32-bit value that comes with the OS ABI part?

Also - I have a cleaned up patch coming soon that adjusts for some other comments you had.

http://reviews.llvm.org/D4302






More information about the lldb-commits mailing list