<p dir="ltr">.<br>
><br>
><br>
> You can just hack up StringTableBuilder so that they don't add the same string more than once, then the resulting string table contains no duplicates, no? </p>
<p dir="ltr">That is exactly what StringTableBuilder does. The add method checks for duplicates and returns the index assuming no tail merge. I just need to update lld to use the return value of add instead of always calling finalize.</p>
<p dir="ltr">Cheers,<br>
Rafael<br>
</p>