<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [lli] Incorrect alignment for common COFF symbols"
   href="https://llvm.org/bugs/show_bug.cgi?id=30857">30857</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[lli] Incorrect alignment for common COFF symbols
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>MCJIT
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>davide@freebsd.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>fluttershy@Sony-PC MINGW64 ~/miscompiles
$ ~/work/llvm-msvc/Debug/bin/opt.exe sccpfoo.ll -o - |
~/work/llvm-msvc/Debug/bin/lli.exe
Assertion failed: Align != 0u && "Align can't be 0.", file
C:\Users\fluttershy\work\llvm\include\llvm/Support/MathExtras.h, line 665
Wrote crash dump file "C:\Users\FLUTTE~1\AppData\Local\Temp\lli.exe-adfbd7.dmp"
#0 0x000000014086801c
(C:\Users\fluttershy\work\llvm-msvc\Debug\bin\lli.exe+0x12d801c)
#1 0x000007fee1cd0f78 (C:\Windows\system32\ucrtbased.dll+0x80f78)
#2 0x000007fee1cd2b99 (C:\Windows\system32\ucrtbased.dll+0x82b99)
#3 0x000007fee1cd831f (C:\Windows\system32\ucrtbased.dll+0x8831f)
#4 0x000007fee1cd62f1 (C:\Windows\system32\ucrtbased.dll+0x862f1)
#5 0x000007fee1cd8cef (C:\Windows\system32\ucrtbased.dll+0x88cef)
#6 0x000000013f7257d6
(C:\Users\fluttershy\work\llvm-msvc\Debug\bin\lli.exe+0x1957d6)
#7 0x00000001403b8c27
(C:\Users\fluttershy\work\llvm-msvc\Debug\bin\lli.exe+0xe28c27)
#8 0x00000001403bc189
(C:\Users\fluttershy\work\llvm-msvc\Debug\bin\lli.exe+0xe2c189)
#9 0x0000000140403df9
(C:\Users\fluttershy\work\llvm-msvc\Debug\bin\lli.exe+0xe73df9)
#10 0x00000001403b81da
(C:\Users\fluttershy\work\llvm-msvc\Debug\bin\lli.exe+0xe281da)
#11 0x00000001402d1469
(C:\Users\fluttershy\work\llvm-msvc\Debug\bin\lli.exe+0xd41469)
#12 0x00000001402d1767
(C:\Users\fluttershy\work\llvm-msvc\Debug\bin\lli.exe+0xd41767)
#13 0x000000013f6bcb8c
(C:\Users\fluttershy\work\llvm-msvc\Debug\bin\lli.exe+0x12cb8c)
#14 0x00000001414e3e44
(C:\Users\fluttershy\work\llvm-msvc\Debug\bin\lli.exe+0x1f53e44)
#15 0x00000001414e3d07
(C:\Users\fluttershy\work\llvm-msvc\Debug\bin\lli.exe+0x1f53d07)
#16 0x00000001414e3bce
(C:\Users\fluttershy\work\llvm-msvc\Debug\bin\lli.exe+0x1f53bce)
#17 0x00000001414e3e69
(C:\Users\fluttershy\work\llvm-msvc\Debug\bin\lli.exe+0x1f53e69)
#18 0x00000000777459cd (C:\Windows\system32\kernel32.dll+0x159cd)
#19 0x000000007797a2e1 (C:\Windows\SYSTEM32\ntdll.dll+0x2a2e1)

fluttershy@Sony-PC MINGW64 ~/miscompiles
$ cat sccpfoo.ll
@o = common global i32 0, align 4

define void @main() {
  %tmp23 = load i32, i32* @o, align 4
  ret void
}</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>