r210459 - Fix line numbers for code inlined from __nodebug__ functions.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Mon Jun 9 03:21:18 PDT 2014


There are LLVM changes in the same revision that you can't see in the
cfe-commits message.


On Mon, Jun 9, 2014 at 1:34 PM, Tobias Grosser <tobias at grosser.es> wrote:
> On 09/06/2014 11:09, Evgeniy Stepanov wrote:
>>
>> Author: eugenis
>> Date: Mon Jun  9 04:09:19 2014
>> New Revision: 210459
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=210459&view=rev
>> Log:
>> Fix line numbers for code inlined from __nodebug__ functions.
>>
>> Instructions from __nodebug__ functions don't have file:line
>> information even when inlined into no-nodebug functions. As a result,
>> intrinsics (SSE and other) from <*intrin.h> clang headers _never_
>> have file:line information.
>>
>> With this change, an instruction without !dbg metadata gets one from
>> the call instruction when inlined.
>>
>> Fixes PR19001.
>>
>> Added:
>>      cfe/trunk/test/CodeGen/sse-builtins-dbg.c   (with props)
>> Modified:
>>      cfe/trunk/test/CodeGen/sse-builtins.c
>
>
> This only updates test cases. Is this intended?
>
> Tobias
>



More information about the cfe-commits mailing list