[llvm-bugs] [Bug 30641] char[4] variable has no DWARF location at -O2

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 5 14:26:23 PDT 2019


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

Paul Robinson <paul_robinson at playstation.sony.com> changed:

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

--- Comment #2 from Paul Robinson <paul_robinson at playstation.sony.com> ---
It looks like "no_location" starts getting a location list with a
constant and DW_OP_stack_value, starting in LLVM 6.0.  Ideally the
constant value would be described as spanning the entire scope, but
this is good enough for me to be willing to resolve as fixed.

0x00000051:     DW_TAG_variable
                  DW_AT_location         (0x00000000
                     0x0000000000000011 - 0x0000000000000034: DW_OP_constu
0x4030201, DW_OP_stack_value)
                  DW_AT_name     ("no_location")
...

-- 
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/20190605/f3c71d90/attachment.html>


More information about the llvm-bugs mailing list