[llvm-bugs] [Bug 23260] DebugInfo: Wrong value for inlined formal_parameters of a function inlined twice

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Dec 17 02:10:46 PST 2018


David Stenberg <david.stenberg at ericsson.com> changed:

           What    |Removed                     |Added
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from David Stenberg <david.stenberg at ericsson.com> ---
(In reply to David Stenberg from comment #2)
> Proposed patch: https://reviews.llvm.org/D55513.

Merged as r348837.

Running the listed command on t.c now gives:

$ clang -g -O2 t.c -S -emit-llvm -o - | grep llvm.dbg.value
  call void @llvm.dbg.value(metadata i32 undef, metadata !10, metadata
!DIExpression()) #3, !dbg !16
  call void @llvm.dbg.value(metadata i32 undef, metadata !10, metadata
!DIExpression()) #3, !dbg !19
declare void @llvm.dbg.value(metadata, metadata, metadata) #2

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181217/6309da4c/attachment.html>

More information about the llvm-bugs mailing list