Displaying 4 results from an estimated 4 matches for "artyp".
Did you mean:
artype
2019 May 29
2
Basic block merging
Under certain circumstances, my compiler outputs basic blocks having the
same function:
bb_97: ; preds = %bb_1
%476 = getelementptr inbounds %LMtop.I0.ARType, %LMtop.I0.ARType* %0, i64
0, i32 6
%477 = bitcast i8** %476 to %LBstd.Cprocess.CRType**
%478 = load %LBstd.Cprocess.CRType*, %LBstd.Cprocess.CRType** %477, align
8
%479 = getelementptr inbounds %LBstd.Cprocess.CRType,
%LBstd.Cprocess.CRType* %478, i64 0, i32 3
%480 = bitcast i8** %479 to...
2019 May 29
3
Basic block merging
...vm-dev
> <llvm-dev at lists.llvm.org> wrote:
> >
> > Under certain circumstances, my compiler outputs basic blocks having the same function:
> >
> > bb_97: ; preds = %bb_1
> > %476 = getelementptr inbounds %LMtop.I0.ARType, %LMtop.I0.ARType* %0, i64 0, i32 6
> > %477 = bitcast i8** %476 to %LBstd.Cprocess.CRType**
> > %478 = load %LBstd.Cprocess.CRType*, %LBstd.Cprocess.CRType** %477, align 8
> > %479 = getelementptr inbounds %LBstd.Cprocess.CRType, %LBstd.Cprocess.CRType* %478, i64 0, i32 3...
2016 Nov 18
2
DWARF gotchas moving from 3.7.1 to 3.9.0
...by default.
One of the changes I had to make to get my code to compile was to remove
the function argument (of Function* type) from the call to
DIBuilder::createFunction(). This appears to be my problem, as my functions
do not appear to have debug info:
>From my 3.7.1 code:
define void @func(%artype*) #4 !dbg !5 {
!5 = distinct !DISubprogram(n...)
>From 3.9.0:
define void @func(%artype*) #4 {
What must I do to attach the DISubprogram metadata node to my Function,
assuming this is the problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list...
2016 Nov 18
2
DWARF gotchas moving from 3.7.1 to 3.9.0
...of the changes I had to make to get my code to compile was to remove the function argument (of Function* type) from the call to DIBuilder::createFunction(). This appears to be my problem, as my functions do not appear to have debug info:
>
> From my 3.7.1 code:
>
> define void @func(%artype*) #4 !dbg !5 {
> !5 = distinct !DISubprogram(n...)
>
> From 3.9.0:
>
> define void @func(%artype*) #4 {
>
> What must I do to attach the DISubprogram metadata node to my Function, assuming this is the problem?
>
> _______________________________________________
>...