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

Ed Maste emaste at freebsd.org
Tue Jul 2 08:25:18 PDT 2013


On 2 July 2013 11:18, Malea, Daniel <daniel.malea at intel.com> wrote:
> What's UUID used for? Is it just used by LLDB to determine when an
> executable has changed, or does it have other implications? If it's just
> for detecting changed executables, is there any reason to not just compute
> an MD5 sum of the binary (in the case UUID is missing) instead?

For the standalone debug files the GNU spec includes a crc32 of the
main binary's contents, used to make sure the two files match.  I
don't know of all of the UUID use cases within lldb, but it looks like
Michael's patch uses the first four bytes of the UUID to store this
crc.

In my case the crc is being calculated for the main binary, but I
don't have one for the standalone debug file.



More information about the lldb-commits mailing list