[PATCH] D45396: [DebugInfo] Create merged locations for instructions other than calls

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 11 11:08:35 PDT 2018


Yep. Fine by me - thanks for checking!

On Wed., 11 Apr. 2018, 10:55 am Vedant Kumar, <vsk at apple.com> wrote:

> Hm, debug_ranges grows by 0.4%, but this didn't increase anything else.
> The total size of the dsym's DWARF segment increases by 0.08%. That seems
> like an acceptable overhead.
>
> vedant
>
>
> On Apr 10, 2018, at 7:13 PM, David Blaikie <dblaikie at gmail.com> wrote:
>
> 0.6% increase to debug_line (assuming you checked & this didn't increase
> anything else? Can't see how it could, but just checking - /maybe/ some
> inlining/debug_ranges stuff?) seems acceptable to me.
>
> On Tue, Apr 10, 2018 at 6:37 PM Adrian Prantl via Phabricator <
> reviews at reviews.llvm.org> wrote:
>
>> aprantl added a comment.
>>
>> I'm fine with this change since the result is more accurate than before
>> (where the instruction would inherit whatever the previous instruction's
>> location was.
>>
>> David: how do you feel about the size increase, since you brought that up?
>>
>>
>>
>> ================
>> Comment at: include/llvm/IR/DebugInfoMetadata.h:1512
>> +  /// is true, we will set the merged debug location as line 0 of the
>> nearest
>> +  /// common scope where 2 locations are inlined from.
>> +  //
>> ----------------
>> `... common scope the the two locations.`
>>
>>
>> https://reviews.llvm.org/D45396
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180411/414cd1be/attachment.html>


More information about the llvm-commits mailing list