Displaying 20 results from an estimated 47 matches for "emissionkind".
2017 Mar 11
2
What does it mean by a "DICompileUnit missing from llvm.dgs.cu" ? | Where is the error ?
Hello,
One of my Julia programs failed to execute with the following error,
DICompileUnit not listed in llvm.dbg.cu
!11 = distinct !DICompileUnit(language: DW_LANG_C89, file: !3, producer:
"julia", isOptimized: true, runtimeVersion: 0,emissionKind: FullDebug, enums
: !12)
This was generated by verifyModule(*GPUModule,&(llvm::errs())From whithin
PPCGCodeGeneration.cpp in Polly.
>From <llvm_src>/test/Verifier/dbg-orphaned-compileunit.ll, I understand
that the debug info, of a compile unit, represented by !11 is missing from
llvm...
2018 Jan 12
2
StripDeadDebugInfo for static inline functions.
...= alloca i16, align 1
%i = alloca i16, align 1
...
}
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!84, !85}
!llvm.ident = !{!86}
!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer:
"clang version 3.8.0 Revision 72230", isOptimized: true, runtimeVersion: 0,
emissionKind: 1, enums: !2, retainedTypes: !3, subprograms: !12, globals:
!73)
...
!12 = !{!13, !54, !57, !60, !61, !62, !65, !66, !67, !68, !69}
!13 = distinct !DISubprogram(name: "main", scope: !14, file: !14, line: 15,
type: !15, isLocal: false, isDefinition: true, scopeLine: 15, isOptimized:
tr...
2017 Jun 08
4
DICompileUnit duplication in LLVM 4.0.0?
...The below minimized pass reproduces my issue in 4.0 with the following
error:
DICompileUnit not listed in llvm.dbg.cu
!1707 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1,
producer: "clang version 4.0.0 (tags/RELEASE_400/final)", isOptimized:
true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, imports: !1708)
dsc-opt:
/home/moconnor/Source/carte.git/llvm-carte/llvm-4.0.0/llvm/lib/IR/Verifier.cpp:4500:
virtual bool
{anonymous}::VerifierLegacyPass::doFinalization(llvm::Module&): Assertion
`!V->hasBrokenDebugInfo() && "Module contains invalid debug...
2020 May 31
2
LLC crash while handling DEBUG info
...= !{!0}
!llvm.module.flags = !{!3, !4, !5}
!llvm.ident = !{!6}
!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14, file:
!1, producer: "clang version 11.0.0
(https://github.com/llvm/llvm-project
9e0b52e2e68412a9a2add18697f4246e5e5ee5e3)", isOptimized: false,
runtimeVersion: 0, emissionKind: FullDebug, enums: !2,
splitDebugInlining: false, nameTableKind: None)
!1 = !DIFile(filename: "foo.cpp", directory:
"/home/mahesha/ROCm/issues/hipclang/other/crash/foo")
!2 = !{}
!3 = !{i32 7, !"Dwarf Version", i32 4}
!4 = !{i32 2, !"Debug Info Version", i32...
2018 Jan 12
2
StripDeadDebugInfo for static inline functions.
...= alloca i16, align 1
...
}
!llvm.dbg.cu<http://llvm.dbg.cu> = !{!0}
!llvm.module.flags = !{!84, !85}
!llvm.ident = !{!86}
!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.8.0 Revision 72230", isOptimized: true, runtimeVersion: 0, emissionKind: 1, enums: !2, retainedTypes: !3, subprograms: !12, globals: !73)
...
!12 = !{!13, !54, !57, !60, !61, !62, !65, !66, !67, !68, !69}
!13 = distinct !DISubprogram(name: "main", scope: !14, file: !14, line: 15, type: !15, isLocal: false, isDefinition: true, scopeLine: 15, isOptimized: tr...
2018 Jan 12
0
StripDeadDebugInfo for static inline functions.
...> }
>
>
> !llvm.dbg.cu = !{!0}
>
> !llvm.module.flags = !{!84, !85}
>
> !llvm.ident = !{!86}
>
>
> !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer:
> "clang version 3.8.0 Revision 72230", isOptimized: true, runtimeVersion: 0,
> emissionKind: 1, enums: !2, retainedTypes: !3, subprograms: !12, globals:
> !73)
>
> ...
>
> !12 = !{!13, !54, !57, !60, !61, !62, !65, !66, !67, !68, !69}
>
> !13 = distinct !DISubprogram(name: "main", scope: !14, file: !14, line:
> 15, type: !15, isLocal: false, isDefinition:...
2018 Jan 14
0
StripDeadDebugInfo for static inline functions.
...;
>
>
> !llvm.dbg.cu = !{!0}
>
> !llvm.module.flags = !{!84, !85}
>
> !llvm.ident = !{!86}
>
>
>
> !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer:
> "clang version 3.8.0 Revision 72230", isOptimized: true, runtimeVersion: 0,
> emissionKind: 1, enums: !2, retainedTypes: !3, subprograms: !12, globals:
> !73)
>
> ...
>
> !12 = !{!13, !54, !57, !60, !61, !62, !65, !66, !67, !68, !69}
>
> !13 = distinct !DISubprogram(name: "main", scope: !14, file: !14, line:
> 15, type: !15, isLocal: false, isDefinition:...
2018 Mar 21
3
lld/lto/win32 crash on DIE code
...nkageName:
"f_t2b_RemObjects_d_Elements_d_System_d_____Global.IDispatchUID", scope:
!2, file: !3, type: !622, isLocal: false, isDefinition: true)
!2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer:
"RemObjects Island", isOptimized: true, runtimeVersion: 0, emissionKind:
FullDebug, enums: !4, retainedTypes: !4, globals: !5, imports: !703)
!3 = !DIFile(filename:
"island.windows.elements-e54b3dc8c0536e29a65f8548b5ae7958-global",
directory: "/__windows_drive__c/ci/b/elements/1301/source/islandrtl/source")
!4 = !{}
!5 = !{!0, !6, !620, !635, !63...
2020 May 31
2
LLC crash while handling DEBUG info
...!6}
> >
> > !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14, file:
> > !1, producer: "clang version 11.0.0
> > (https://github.com/llvm/llvm-project
> > 9e0b52e2e68412a9a2add18697f4246e5e5ee5e3)", isOptimized: false,
> > runtimeVersion: 0, emissionKind: FullDebug, enums: !2,
> > splitDebugInlining: false, nameTableKind: None)
> > !1 = !DIFile(filename: "foo.cpp", directory:
> > "/home/mahesha/ROCm/issues/hipclang/other/crash/foo")
> > !2 = !{}
> > !3 = !{i32 7, !"Dwarf Version", i32 4}
&...
2018 Jan 15
1
StripDeadDebugInfo for static inline functions.
...t; }
>
> !llvm.dbg.cu <http://llvm.dbg.cu/> = !{!0}
> !llvm.module.flags = !{!84, !85}
> !llvm.ident = !{!86}
>
> !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.8.0 Revision 72230", isOptimized: true, runtimeVersion: 0, emissionKind: 1, enums: !2, retainedTypes: !3, subprograms: !12, globals: !73)
> ...
> !12 = !{!13, !54, !57, !60, !61, !62, !65, !66, !67, !68, !69}
> !13 = distinct !DISubprogram(name: "main", scope: !14, file: !14, line: 15, type: !15, isLocal: false, isDefinition: true, scopeLine: 15, isO...
2016 Apr 30
2
Debug info scope of explicit casting type does not seem correct
...return foo<B>(&a);
}
Reason for this behavior is the explicit cast "(T*)", which leads into the following IR:
!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, producer: "clang version 3.9.0 (trunk 267335)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, retainedTypes: !3)
!3 = !{!4}
!4 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !5, size: 32, align: 32) <----------------- No Scope, leads to compile unit scope!!
!5 = !DIDerivedType(tag: DW_TAG_typedef, name: "T", scope: !7, file: !6, line: 16, baseType:...
2017 Jun 08
2
DICompileUnit duplication in LLVM 4.0.0?
...with the following
>> error:
>>
>> DICompileUnit not listed in llvm.dbg.cu
>> !1707 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1,
>> producer: "clang version 4.0.0 (tags/RELEASE_400/final)", isOptimized:
>> true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, imports: !1708)
>> dsc-opt: /home/moconnor/Source/carte.git/llvm-carte/llvm-4.0.0/llvm/lib/IR/Verifier.cpp:4500:
>> virtual bool {anonymous}::VerifierLegacyPass::doFinalization(llvm::Module&):
>> Assertion `!V->hasBrokenDebugInfo() && "Mo...
2020 May 31
2
LLC crash while handling DEBUG info
...t !DICompileUnit(language: DW_LANG_C_plus_plus_14, file:
> >> > !1, producer: "clang version 11.0.0
> >> > (https://github.com/llvm/llvm-project
> >> > 9e0b52e2e68412a9a2add18697f4246e5e5ee5e3)", isOptimized: false,
> >> > runtimeVersion: 0, emissionKind: FullDebug, enums: !2,
> >> > splitDebugInlining: false, nameTableKind: None)
> >> > !1 = !DIFile(filename: "foo.cpp", directory:
> >> > "/home/mahesha/ROCm/issues/hipclang/other/crash/foo")
> >> > !2 = !{}
> >> > !3 =...
2018 Jul 30
2
ThinLTO Bug ?
On Mon, Jul 30, 2018 at 6:52 AM <paul.robinson at sony.com> wrote:
>
>
>
> > -----Original Message-----
> > From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Xin
> > Tong via llvm-dev
> > Sent: Friday, July 27, 2018 9:33 PM
> > To: llvm-dev
> > Subject: [llvm-dev] ThinLTO Bug ?
> >
> > Hi
> >
> > I
2018 Jan 12
0
StripDeadDebugInfo for static inline functions.
I'm not as familiar with all the ins and outs of metadata as maybe I should be, but ultimately the inlined function should have a DWARF description contained within the description of the caller (which is why you're seeing the call to constructAbstractSubprogramScopeDIE). That suggests that the DISubprogram for the inlined function ought to remain, and its scope should be the
2018 Mar 21
0
lld/lto/win32 crash on DIE code
...linkageName:
"f_t2b_RemObjects_d_Elements_d_System_d_____Global.IDispatchUID", scope:
!2, file: !3, type: !622, isLocal: false, isDefinition: true)
!2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer:
"RemObjects Island", isOptimized: true, runtimeVersion: 0, emissionKind:
FullDebug, enums: !4, retainedTypes: !4, globals: !5, imports: !703)
!3 = !DIFile(filename:
"island.windows.elements-e54b3dc8c0536e29a65f8548b5ae7958-global",
directory: "/__windows_drive__c/ci/b/elements/1301/source/islandrtl/source")
!4 = !{}
!5 = !{!0, !6, !620, !635, !637,...
2020 Jun 01
2
LLC crash while handling DEBUG info
..._plus_14,
> file:
> >> >> > !1, producer: "clang version 11.0.0
> >> >> > (https://github.com/llvm/llvm-project
> >> >> > 9e0b52e2e68412a9a2add18697f4246e5e5ee5e3)", isOptimized: false,
> >> >> > runtimeVersion: 0, emissionKind: FullDebug, enums: !2,
> >> >> > splitDebugInlining: false, nameTableKind: None)
> >> >> > !1 = !DIFile(filename: "foo.cpp", directory:
> >> >> > "/home/mahesha/ROCm/issues/hipclang/other/crash/foo")
> >> >> &g...
2018 Jan 12
2
StripDeadDebugInfo for static inline functions.
Hi all,
I would like to understand the strip-dead-debug-info transformation.
In my test case there is a static inline function with two local variables.
It appears that the function is already inlined before
strip-dead-debug-info starts its work. As a result the DICompileUnit is
cleaned and its subprograms list has no reference to the DISubprogram for
the inlined function, but as there is
2017 Mar 12
2
What does it mean by a "DICompileUnit missing from llvm.dgs.cu" ? | Where is the error ?
...> Hello,
> >
> > One of my Julia programs failed to execute with the following error,
> > DICompileUnit not listed in llvm.dbg.cu
> > !11 = distinct !DICompileUnit(language: DW_LANG_C89, file: !3, producer:
> > "julia", isOptimized: true, runtimeVersion: 0,emissionKind: FullDebug,
> > enums: !12)
> >
> > This was generated by verifyModule(*GPUModule,&(llvm::errs())From whithin
> > PPCGCodeGeneration.cpp in Polly.
> >
> > From <llvm_src>/test/Verifier/dbg-orphaned-compileunit.ll, I understand
> > that the debug i...
2016 May 07
2
Debug info scope of explicit casting type does not seem correct
...() {
A a;
return foo<B>(&a);
}
Reason for this behavior is the explicit cast “(T*)“, which leads into the following IR:
!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, producer: "clang version 3.9.0 (trunk 267335)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, retainedTypes: !3)
!3 = !{!4}
!4 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !5, size: 32, align: 32) <----------------- No Scope, leads to compile unit scope!!
!5 = !DIDerivedType(tag: DW_TAG_typedef, name: "T", scope: !7, file: !6, line: 16, baseType:...