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

Tobias Grosser tobias at grosser.es
Mon Jun 9 02:34:27 PDT 2014


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