[PATCH] D92736: [lld/mac] Use xxhash instead of MD5 for computing the UUID

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 9 16:17:47 PST 2020


clayborg added a comment.

In D92736#2442831 <https://reviews.llvm.org/D92736#2442831>, @thakis wrote:

>> The point is if you produce a binary with ld64 with or without local symbols, with or without debug info (STABS debug map) -- at link time -- it will produce the same UUID.
>
> I understand that part. I'm wondering what the use case is where this is important. In my experience, people build with debug info and then strip (which gives you binaries with and without debug info and with matching UUID even with the elf scheme), instead of building once with debug info and once without. So my question above is: Do you do two separate builds, one with debug info and one without, instead of using strip? If so, why?

I build once and strip. I never run into issues on Darwin builds that use ld64. But I have run into issues with android, and in those cases, I believe they did two builds. I am not worried about the contents of the patch, mostly just trying to let you guys know what an existing Darwin ld64 user currently gets so you guys know what the current system provides and how it might affect users that are used to ld64.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92736/new/

https://reviews.llvm.org/D92736



More information about the llvm-commits mailing list