<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:vsk@apple.com" title="Vedant Kumar <vsk@apple.com>"> <span class="fn">Vedant Kumar</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [DebugInfo] Sign-extended variable is described by smaller stack slot, resulting in parts being filled with garbage data"
   href="https://bugs.llvm.org/show_bug.cgi?id=39996">bug 39996</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Fixed By Commit(s)</td>
           <td>
                
           </td>
           <td>349214
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [DebugInfo] Sign-extended variable is described by smaller stack slot, resulting in parts being filled with garbage data"
   href="https://bugs.llvm.org/show_bug.cgi?id=39996#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [DebugInfo] Sign-extended variable is described by smaller stack slot, resulting in parts being filled with garbage data"
   href="https://bugs.llvm.org/show_bug.cgi?id=39996">bug 39996</a>
              from <span class="vcard"><a class="email" href="mailto:vsk@apple.com" title="Vedant Kumar <vsk@apple.com>"> <span class="fn">Vedant Kumar</span></a>
</span></b>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>