<div dir="ltr">Hi David,<div><br></div><div>We've been considering changing the naming scheme for promoted local functions in ThinLTO. Currently we just prepend the file name, but that isn't really sound for a number of reasons (e.g. you can have the same file name in different directories). The alternative we've been thinking about is to use the hash of all external names in the module, as that is guaranteed to be unique within a linkage unit (otherwise the linker would complain).</div><div><br></div><div>We currently (intentionally, I believe) use the same naming scheme for promoting local functions as we do for PGO, so we might need to change both. Do you see any back compat concerns with changing the naming scheme? I guess there are various things we can do to try to ensure back compat, but I wanted to get an idea of what the requirements are.</div><div><br></div><div>Thanks,<br>-- <br><div class="gmail_signature"><div dir="ltr">-- <div>Peter</div></div></div>
</div></div>