[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 11:43:25 PDT 2014


> It turns out this still fails in some cases, as it seems somewhere in
> ModuleList::GetSharedModule's call of module_sp->GetObjectFile there's
> an exact match on the platform triple string. On FreeBSD the platform
> triple ends up as e.g. "x86_64-unknown-freebsd9.1" (with the version
> appended), and the version is detected at cmake run time.

So with the latest patch, it isn't always computing x86_64-unknown-freebsd9.1 in your case for the ObjectFileELF object file?  It would be great to find out where the non-versioned x86_64-unknown-freebsd was coming from in that case.

http://reviews.llvm.org/D4302






More information about the lldb-commits mailing list