<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:chfast@gmail.com" title="PaweŠBylica <chfast@gmail.com>"> <span class="fn">Paweł Bylica</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed" title="RESOLVED WORKSFORME - JIT crashes on code containing debug info" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D6981&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=gReXNhR_EvZTr6rraRI7SC_0l50PTnicx8altK0N5ZY&s=O-b_I5AFgFptIenZy5TbguiYgEhrr-aLr92CXLPDCw4&e=">bug 6981</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;">Resolution</td>
<td>---
</td>
<td>WORKSFORME
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed" title="RESOLVED WORKSFORME - JIT crashes on code containing debug info" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D6981-23c3&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=gReXNhR_EvZTr6rraRI7SC_0l50PTnicx8altK0N5ZY&s=V_dSX_nBe3LTpQYBlZMJDxviOeZd3qugdRYGopAYi_E&e=">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed" title="RESOLVED WORKSFORME - JIT crashes on code containing debug info" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D6981&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=gReXNhR_EvZTr6rraRI7SC_0l50PTnicx8altK0N5ZY&s=O-b_I5AFgFptIenZy5TbguiYgEhrr-aLr92CXLPDCw4&e=">bug 6981</a>
from <span class="vcard"><a class="email" href="mailto:chfast@gmail.com" title="PaweŠBylica <chfast@gmail.com>"> <span class="fn">Paweł Bylica</span></a>
</span></b>
<pre>This cannot be reproduced any more with LLVM/clang 3.7. Tested on win32 with
MCJIT and interpreter with test:
target triple = "i686-pc-win32-msvc-elf"
; Function Attrs: nounwind uwtable
define i32 @main() #0 {
%1 = alloca i32, align 4
%a = alloca i32, align 4
store i32 0, i32* %1
br label %2, !dbg !11
; <label>:2 ; preds = %0
call void @llvm.dbg.declare(metadata i32* %a, metadata !12, metadata !13),
!dbg !14
store i32 0, i32* %a, align 4, !dbg !14
ret i32 0, !dbg !15
}
; Function Attrs: nounwind readnone
declare void @llvm.dbg.declare(metadata, metadata, metadata) #1
attributes #0 = { nounwind uwtable "less-precise-fpmad"="false"
"no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf"
"no-infs-fp-math"="false" "no-nans-fp-math"="false"
"stack-protector-buffer-size"="8" "target-cpu"="x86-64"
"unsafe-fp-math"="false" "use-soft-float"="false" }
attributes #1 = { nounwind readnone }
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!8, !9}
!llvm.ident = !{!10}
!0 = !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, producer: "Ubuntu
clang version 3.7.0-svn235195-1~exp1 (trunk) (based on LLVM 3.7.0)",
isOptimized: false, runtimeVersion: 0, emissionKind: 1, enums: !2,
retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
!1 = !DIFile(filename:
"/tmp/gcc-explorer-compiler115425-68-1iou2qg/example.cpp", directory:
"/gcc-explorer")
!2 = !{}
!3 = !{!4}
!4 = !DISubprogram(name: "main", scope: !1, file: !1, line: 1, type: !5,
isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagPrototyped,
isOptimized: false, function: i32 ()* @main, variables: !2)
!5 = !DISubroutineType(types: !6)
!6 = !{!7}
!7 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
!8 = !{i32 2, !"Dwarf Version", i32 4}
!9 = !{i32 2, !"Debug Info Version", i32 3}
!10 = !{!"Ubuntu clang version 3.7.0-svn235195-1~exp1 (trunk) (based on LLVM
3.7.0)"}
!11 = !DILocation(line: 2, column: 9, scope: !4)
!12 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "a", scope: !4, file:
!1, line: 4, type: !7)
!13 = !DIExpression()
!14 = !DILocation(line: 4, column: 13, scope: !4)
!15 = !DILocation(line: 5, column: 9, scope: !4)</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>