[Lldb-commits] [lldb] r185366 - Split symbol support for ELF and Linux.

Ed Maste emaste at freebsd.org
Tue Jul 2 17:42:10 PDT 2013


On 2 July 2013 18:33, Jason Molenda <jmolenda at apple.com> wrote:
>
> For what it's worth, on Mac OS X every binary has a 128-bit UUID generated by the linker (in the LC_UUID Mach-O load command), it is some hash of the text and maybe the data in the binary (compiling the same source twice with the same tools results in the same UUID by default).

That sounds almost identical to the Linux/ELF BuildId support, for
which I found a rather detailed explanation at
https://fedoraproject.org/wiki/Releases/FeatureBuildId .

I see that there's an open ticket to add --build-id support to
mclinker, so it should be straightforward for FreeBSD to switch to
build-id after we bring mclinker into the base system.




More information about the lldb-commits mailing list