search for: diflagprototyp

Displaying 20 results from an estimated 35 matches for "diflagprototyp".

Did you mean: diflagprototyped
2017 Jun 15
4
CloneFunctionInto produces invalid debug info
...dr, metadata !49, metadata !31), !dbg !50 ... rest of function code } !46 = distinct !DISubprogram(name: "MyFunnyClass", linkageName: "_ZN12MyFunnyClassC2Ev", scope: !15, file: !1, line: 1, type: !25, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, unit: !0, declaration: !47, variables: !2) and the cloned function: ; Function Attrs: noinline nounwind uwtable define linkonce_odr void @_ZN12MyFunnyClassC2EvCloned(%struct.MyFunnyClass* %this, { [6 x i8*] }* %newparam) unnamed_addr #4 align 2 !dbg !73 { entry: %this.ad...
2018 Feb 02
2
Debug info error on bitcode inline modification
...s_inline functions FunctionPass Manager Module Verifier Bitcode Writer !dbg attachment points at wrong subprogram for function !16 = distinct !DISubprogram(name: "caller", scope: !1, file: !1, line: 11, type: !17, isLocal: false, isDefinition: true, scopeLine: 12, flags: DIFlagPrototyped, isOptimized: true, variables: !19) void ()* @caller %call.i = call i32 (i32, i8*, i8*, ...) @__android_log_print(i32 3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1.4, i32 0, i32 0), i8* getelementptr inbounds (...
2018 Feb 02
0
Debug info error on bitcode inline modification
...ionPass Manager > Module Verifier > Bitcode Writer > !dbg attachment points at wrong subprogram for function > !16 = distinct !DISubprogram(name: "caller", scope: !1, file: !1, line: > 11, type: !17, isLocal: false, isDefinition: true, scopeLine: 12, flags: > DIFlagPrototyped, isOptimized: true, variables: !19) > void ()* @caller > %call.i = call i32 (i32, i8*, i8*, ...) @__android_log_print(i32 3, i8* > getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i32 0, i32 0), i8* > getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1.4, i32 0, i32 0), i8* >...
2020 Feb 20
3
[LLVM][DISubprogram][LL format updation query] Question regarding moving DISubprogram DIFlags to DISPFlag.
Hello, In regard to the review request https://reviews.llvm.org/D74470, I am trying to move five of the DIFlags to DISPFlag for the moment namely DIFlagExplicit, DIFlagPrototyped, DIFlagNoReturn, DIFlagThunk, DIFlagAllCallsDescribed. The llvm ir format for DISubprogram currently has backword compatibility where the isLocal, isDefinition, virtuality, isOptimized and SPFlags are mutually exclusive. My question is, is it a good idea to remove the booleans support'(isLoca...
2018 Feb 05
1
Debug info error on bitcode inline modification
...Module Verifier >> Bitcode Writer >> !dbg attachment points at wrong subprogram for function >> !16 = distinct !DISubprogram(name: "caller", scope: !1, file: !1, line: >> 11, type: !17, isLocal: false, isDefinition: true, scopeLine: 12, flags: >> DIFlagPrototyped, isOptimized: true, variables: !19) >> void ()* @caller >> %call.i = call i32 (i32, i8*, i8*, ...) @__android_log_print(i32 3, i8* >> getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i32 0, i32 0), i8* >> getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1.4, i32 0,...
2017 Jun 15
2
CloneFunctionInto produces invalid debug info
...> > ... rest of function code > > } > > !46 = distinct !DISubprogram(name: "MyFunnyClass", linkageName: > "_ZN12MyFunnyClassC2Ev", scope: !15, file: !1, line: 1, type: !25, isLocal: > false, isDefinition: true, scopeLine: 1, flags: DIFlagArtificial | > DIFlagPrototyped, isOptimized: false, unit: !0, declaration: !47, > variables: !2) > > > and the cloned function: > > ; Function Attrs: noinline nounwind uwtable > define linkonce_odr void @_ZN12MyFunnyClassC2EvCloned(%struct.MyFunnyClass* > %this, { [6 x i8*] }* %newparam) unnamed_addr #4...
2017 Jun 15
3
CloneFunctionInto produces invalid debug info
...of function code >>>> } >>>> >>>> !46 = distinct !DISubprogram(name: "MyFunnyClass", linkageName: "_ZN12MyFunnyClassC2Ev", scope: !15, file: !1, line: 1, type: !25, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, unit: !0, declaration: !47, variables: !2) >>> >>> and the cloned function: >>> >>>> ; Function Attrs: noinline nounwind uwtable >>>> define linkonce_odr void @_ZN12MyFunnyClassC2EvCloned(%struct.MyFunnyClass* %this, { [6...
2018 Jan 12
2
StripDeadDebugInfo for static inline functions.
...t !DISubprogram(name: ... !66 = distinct !DISubprogram(name: ... !67 = distinct !DISubprogram(name: ... !68 = distinct !DISubprogram(name: ... !69 = distinct !DISubprogram(name: "delay", scope: !14, file: !14, line: 9, type: !55, isLocal: true, isDefinition: true, scopeLine: 9, flags: DIFlagPrototyped, isOptimized: true, variables: !70) !70 = !{!71, !72} !71 = !DILocalVariable(name: "d", arg: 1, scope: !69, file: !14, line: 9, type: !11) !72 = !DILocalVariable(name: "i", scope: !69, file: !14, line: 9, type: !11) ... The IR after opt is: ; Function Attrs: nounwind...
2020 Apr 30
2
Mapping a retained DILocalVariable back to its Function
...r(i32) local_unnamed_addr #0 !dbg !13 { ; no calls to llvm.dbg.* for the locals in this func } With the corresponding debug nodes: !13 = distinct !DISubprogram(name: "foobar", scope: !1, file: !1, line: 7, type: !14, isLocal: false, isDefinition: true, scopeLine: 7, flags: DIFlagPrototyped, isOptimized: true, unit: !0, retainedNodes: !16) !14 = !DISubroutineType(types: !15) !15 = !{!4, !4} !16 = !{!17, !18} !17 = !DILocalVariable(name: "x", arg: 1, scope: !13, file: !1, line: 7, type: !4) ; this one in particular, since it's a non-argument local...
2020 May 31
2
LLC crash while handling DEBUG info
...!"wchar_size", i32 4} !6 = !{!"clang version 11.0.0 (https://github.com/llvm/llvm-project 9e0b52e2e68412a9a2add18697f4246e5e5ee5e3)"} !7 = distinct !DISubprogram(name: "foo", linkageName: "_Z3foov", scope: !1, file: !1, line: 1, type: !8, scopeLine: 1, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !2) !8 = !DISubroutineType(types: !9) !9 = !{null} !10 = !DILocation(line: 2, column: 1, scope: !7) ----------- Now, let's say, in the above IR file, I intentionally make debug info metadata, a kind of invalid, by removing the field '...
2018 Jan 12
2
StripDeadDebugInfo for static inline functions.
...t !DISubprogram(name: ... !66 = distinct !DISubprogram(name: ... !67 = distinct !DISubprogram(name: ... !68 = distinct !DISubprogram(name: ... !69 = distinct !DISubprogram(name: "delay", scope: !14, file: !14, line: 9, type: !55, isLocal: true, isDefinition: true, scopeLine: 9, flags: DIFlagPrototyped, isOptimized: true, variables: !70) !70 = !{!71, !72} !71 = !DILocalVariable(name: "d", arg: 1, scope: !69, file: !14, line: 9, type: !11) !72 = !DILocalVariable(name: "i", scope: !69, file: !14, line: 9, type: !11) ... The IR after opt is: ; Function Attrs: nounwind...
2017 Jun 16
2
CloneFunctionInto produces invalid debug info
...code >>>>> } >>>>> >>>>> !46 = distinct !DISubprogram(name: "MyFunnyClass", linkageName: "_ZN12MyFunnyClassC2Ev", scope: !15, file: !1, line: 1, type: !25, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, unit: !0, declaration: !47, variables: !2) >>>> >>>> and the cloned function: >>>> >>>>> ; Function Attrs: noinline nounwind uwtable >>>>> define linkonce_odr void @_ZN12MyFunnyClassC2EvCloned(%struct.MyFun...
2018 Jan 12
0
StripDeadDebugInfo for static inline functions.
...inct !DISubprogram(name: ... > > !67 = distinct !DISubprogram(name: ... > > !68 = distinct !DISubprogram(name: ... > > !69 = distinct !DISubprogram(name: "delay", scope: !14, file: !14, line: > 9, type: !55, isLocal: true, isDefinition: true, scopeLine: 9, flags: > DIFlagPrototyped, isOptimized: true, variables: !70) > > !70 = !{!71, !72} > > !71 = !DILocalVariable(name: "d", arg: 1, scope: !69, file: !14, line: 9, > type: !11) > > !72 = !DILocalVariable(name: "i", scope: !69, file: !14, line: 9, type: > !11) > > ... > &g...
2020 Feb 20
3
[LLVM][DISubprogram][LL format updation query] Question regarding moving DISubprogram DIFlags to DISPFlag.
...ISubprogram DIFlags to DISPFlag. Hi Chirag, On 20.2.20. 07:51, Chirag Patel via llvm-dev wrote: > Hello, > >   > > In regard to the review request https://reviews.llvm.org/D74470, > > I am trying to move five of the DIFlags to DISPFlag for the moment namely DIFlagExplicit, DIFlagPrototyped, DIFlagNoReturn, DIFlagThunk, DIFlagAllCallsDescribed. > > The llvm ir format for DISubprogram currently has backword compatibility where the isLocal, isDefinition, virtuality, isOptimized and SPFlags are mutually exclusive. > > My question is, > > is it a good idea to remove...
2018 Jan 14
0
StripDeadDebugInfo for static inline functions.
...inct !DISubprogram(name: ... > > !67 = distinct !DISubprogram(name: ... > > !68 = distinct !DISubprogram(name: ... > > !69 = distinct !DISubprogram(name: "delay", scope: !14, file: !14, line: > 9, type: !55, isLocal: true, isDefinition: true, scopeLine: 9, flags: > DIFlagPrototyped, isOptimized: true, variables: !70) > > !70 = !{!71, !72} > > !71 = !DILocalVariable(name: "d", arg: 1, scope: !69, file: !14, line: 9, > type: !11) > > !72 = !DILocalVariable(name: "i", scope: !69, file: !14, line: 9, type: > !11) > > ... > &g...
2020 Sep 01
2
Filename's in DIBuileder
...| DISPFlagDefinition, unit: !2, retainedNodes: !4) !8 = !DIFile(filename: "test.cpp", directory: "/folk/tmp/test") !16 = !DISubprogram(name: "proc", linkageName: "_ZN4test4procEv", scope: !9, file: !8, line: 8, type: !12, scopeLine: 8, flags: DIFlagPublic | DIFlagPrototyped, spFlags: 0) Latest clang trunk used like $clang -std=c++14 -g -eimit-llvm -S /folk/tmp/test/test.cpp and the respective files like test.cc ,test.ll and test.s are attached in the mail for the reference. the scenario is that why the file-name 's are different is both cases ,where &quot...
2020 May 31
2
LLC crash while handling DEBUG info
..."clang version 11.0.0 (https://github.com/llvm/llvm-project > > 9e0b52e2e68412a9a2add18697f4246e5e5ee5e3)"} > > !7 = distinct !DISubprogram(name: "foo", linkageName: "_Z3foov", > > scope: !1, file: !1, line: 1, type: !8, scopeLine: 1, flags: > > DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !0, > > retainedNodes: !2) > > !8 = !DISubroutineType(types: !9) > > !9 = !{null} > > !10 = !DILocation(line: 2, column: 1, scope: !7) > > ----------- > > > > Now, let's say, in the above IR file, I intentionally ma...
2017 Jun 19
2
CloneFunctionInto produces invalid debug info
...gt;>> } >>>>>>> >>>>>>> !46 = distinct !DISubprogram(name: "MyFunnyClass", linkageName: "_ZN12MyFunnyClassC2Ev", scope: !15, file: !1, line: 1, type: !25, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagArtificial | DIFlagPrototyped, isOptimized: false, unit: !0, declaration: !47, variables: !2) >>>>>> >>>>>> and the cloned function: >>>>>> >>>>>>> ; Function Attrs: noinline nounwind uwtable >>>>>>> define linkonce_odr void @_ZN...
2018 Jan 15
1
StripDeadDebugInfo for static inline functions.
...name: ... > !66 = distinct !DISubprogram(name: ... > !67 = distinct !DISubprogram(name: ... > !68 = distinct !DISubprogram(name: ... > !69 = distinct !DISubprogram(name: "delay", scope: !14, file: !14, line: 9, type: !55, isLocal: true, isDefinition: true, scopeLine: 9, flags: DIFlagPrototyped, isOptimized: true, variables: !70) > !70 = !{!71, !72} > !71 = !DILocalVariable(name: "d", arg: 1, scope: !69, file: !14, line: 9, type: !11) > !72 = !DILocalVariable(name: "i", scope: !69, file: !14, line: 9, type: !11) > ... > > > > > >...
2016 Apr 30
2
Debug info scope of explicit casting type does not seem correct
...IDerivedType(tag: DW_TAG_typedef, name: "T", scope: !7, file: !6, line: 16, baseType: !20) !7 = distinct !DISubprogram(name: "foo<B>", linkageName: "_Z3fooI1BEiPv", scope: !6, file: !6, line: 15, type: !8, isLocal: false, isDefinition: true, scopeLine: 15, flags: DIFlagPrototyped, isOptimized: true, unit: !0, templateParams: !12, variables: !15) Thanks, Amjad --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any...