[llvm-bugs] [Bug 39996] [DebugInfo] Sign-extended variable is described by smaller stack slot, resulting in parts being filled with garbage data
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Dec 14 16:03:42 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=39996
Vedant Kumar <vsk at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Fixed By Commit(s)| |349214
Resolution|--- |FIXED
--- Comment #4 from Vedant Kumar <vsk at apple.com> ---
With r349214, I see:
(lldb) r
Process 36084 launched: './foo.out' (i386)
foo.out was compiled with optimization - stepping may behave oddly; variables
may not be available.
Process 36084 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
frame #0: 0x00001f60 foo.out`foo(a=-123, b=3435973836) at foo.c:12 [opt]
9 __attribute__((noinline)) void foo(int32_t a, uint32_t b) {
10 int64_t al = a;
11 int64_t rl = 6;
-> 12 bar(al);
13 bar(b);
14 }
15
Target 0: (foo.out) stopped.
(lldb) p al
(int64_t) $0 = -123
--
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/20181215/639e10d9/attachment.html>
More information about the llvm-bugs
mailing list