[llvm-bugs] [Bug 35015] Optimized code debug info: loop induction variable becomes constant

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 2 16:29:22 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=35015

Adrian Prantl <aprantl at apple.com> changed:

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

--- Comment #9 from Adrian Prantl <aprantl at apple.com> ---
before:

0x0000009f: DW_TAG_variable
              DW_AT_location    (0x00000000
                 0x0000000000000010 - 0x0000000000000032: DW_OP_consts +0,
DW_OP_stack_value)
              DW_AT_name        ("i")
              DW_AT_decl_file   ("/tmp/t.c")
              DW_AT_decl_line   (8)
              DW_AT_type        (cu + 0x006c "int")

after:

0x0000009f: DW_TAG_variable
              DW_AT_location    (0x00000000
                 0x0000000000000010 - 0x0000000000000012: DW_OP_consts +0,
DW_OP_stack_value
                 0x0000000000000012 - 0x0000000000000023: DW_OP_reg3 RBX
                 0x0000000000000027 - 0x000000000000002e: DW_OP_reg3 RBX)
              DW_AT_name        ("i")
              DW_AT_decl_file   ("/tmp/t.c")
              DW_AT_decl_line   (8)
              DW_AT_type        (cu + 0x006c "int")

-- 
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/20171102/b40da7c4/attachment-0001.html>


More information about the llvm-bugs mailing list