<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 14, 2016 at 4:01 PM Duncan P. N. Exon Smith <<a href="mailto:dexonsmith@apple.com">dexonsmith@apple.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>>> 3. Bitcode symbol hiding:<br>
<br>
[...]<br>
<br>
>>> 4. Debug info strip to line-tables pass:<br>
>>> As the name suggested, this pass strip down the full debug info to line-tables only. This is also one of the steps we took to prevent the leak of source code information in bitcode.<br>
>>><br>
>>> I'm very curious about what's going on here. Could you elaborate? :)<br>
>><br>
>> Cc Adrian<br>
>> He would know more about it. I would only know that it can reconstruct -gline-tables-only debug info from full debug info. We use it as a part of the bitcode pipeline because we don't want the bitcode file to be exceedingly large but I can see this pass to be useful in other circumstances.<br>
><br>
> :)<br>
<br>
IIRC, removing the type information and flattening the scope tree also helps to prevent leaking information about the source file, as part of (3) above.</blockquote><div><br></div><div>Yes, I would agree with that as well.</div><div><br></div><div>-ericĀ </div></div></div>