[llvm-bugs] [Bug 30857] New: [lli] Incorrect alignment for common COFF symbols
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Oct 31 13:45:49 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30857
Bug ID: 30857
Summary: [lli] Incorrect alignment for common COFF symbols
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: MCJIT
Assignee: unassignedbugs at nondot.org
Reporter: davide at freebsd.org
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
fluttershy at 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 at 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
}
--
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/20161031/6b9aa82a/attachment.html>
More information about the llvm-bugs
mailing list