search for: computesizeandoffset

Displaying 20 results from an estimated 22 matches for "computesizeandoffset".

2013 Oct 10
4
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...tch adds the functionality but does not use it, the 2nd > patch uses ref_addr. > If you think I should merge the two and commit as a single patch, let me > know. > > >> I may need to refer to the second patch in reviewing this first one. >> DwarfDebug.cpp: >> computeSizeAndOffsets: >> I believe this produces the wrong offset for the 3rd CU and >> onwards. computeSizeAndOffset returns the EndOffset which is absolute, not >> relative to the Offset passed in, so it should be assigned to SecOffset, >> not added to it. (eg: if you have CUs at 0, 42,...
2013 Oct 09
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
Might be easier if these were on Phabricator, but here are some thoughts: 0001: This patch generally, while separated for legibility, is untested & difficult to discuss in isolation. I may need to refer to the second patch in reviewing this first one. DwarfDebug.cpp: computeSizeAndOffsets: I believe this produces the wrong offset for the 3rd CU and onwards. computeSizeAndOffset returns the EndOffset which is absolute, not relative to the Offset passed in, so it should be assigned to SecOffset, not added to it. (eg: if you have CUs at 0, 42, and 57 - the first pass through Sec...
2013 Oct 15
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...> patch uses ref_addr. >>> If you think I should merge the two and commit as a single patch, let me >>> know. >>> >>> >>>> I may need to refer to the second patch in reviewing this first one. >>>> DwarfDebug.cpp: >>>> computeSizeAndOffsets: >>>> I believe this produces the wrong offset for the 3rd CU and >>>> onwards. computeSizeAndOffset returns the EndOffset which is absolute, not >>>> relative to the Offset passed in, so it should be assigned to SecOffset, >>>> not added to it...
2013 Oct 09
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...in isolation. > I agree, this patch adds the functionality but does not use it, the 2nd patch uses ref_addr. If you think I should merge the two and commit as a single patch, let me know. > I may need to refer to the second patch in reviewing this first one. > DwarfDebug.cpp: > computeSizeAndOffsets: > I believe this produces the wrong offset for the 3rd CU and onwards. > computeSizeAndOffset returns the EndOffset which is absolute, not relative > to the Offset passed in, so it should be assigned to SecOffset, not added > to it. (eg: if you have CUs at 0, 42, and 57 - the fi...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...oes not use it, the 2nd >> patch uses ref_addr. >> If you think I should merge the two and commit as a single patch, let me >> know. >> >> >>> I may need to refer to the second patch in reviewing this first one. >>> DwarfDebug.cpp: >>> computeSizeAndOffsets: >>> I believe this produces the wrong offset for the 3rd CU and >>> onwards. computeSizeAndOffset returns the EndOffset which is absolute, not >>> relative to the Offset passed in, so it should be assigned to SecOffset, >>> not added to it. (eg: if you ha...
2013 Oct 15
4
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...ink I should merge the two and commit as a single patch, let >>>>> me know. >>>>> >>>>> >>>>>> I may need to refer to the second patch in reviewing this first one. >>>>>> DwarfDebug.cpp: >>>>>> computeSizeAndOffsets: >>>>>> I believe this produces the wrong offset for the 3rd CU and >>>>>> onwards. computeSizeAndOffset returns the EndOffset which is absolute, not >>>>>> relative to the Offset passed in, so it should be assigned to SecOffset, >>...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...t;>>> If you think I should merge the two and commit as a single patch, let >>>> me know. >>>> >>>> >>>>> I may need to refer to the second patch in reviewing this first one. >>>>> DwarfDebug.cpp: >>>>> computeSizeAndOffsets: >>>>> I believe this produces the wrong offset for the 3rd CU and >>>>> onwards. computeSizeAndOffset returns the EndOffset which is absolute, not >>>>> relative to the Offset passed in, so it should be assigned to SecOffset, >>>>>...
2013 Oct 11
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...> patch uses ref_addr. >>> If you think I should merge the two and commit as a single patch, let me >>> know. >>> >>> >>>> I may need to refer to the second patch in reviewing this first one. >>>> DwarfDebug.cpp: >>>> computeSizeAndOffsets: >>>> I believe this produces the wrong offset for the 3rd CU and >>>> onwards. computeSizeAndOffset returns the EndOffset which is absolute, not >>>> relative to the Offset passed in, so it should be assigned to SecOffset, >>>> not added to it...
2013 Oct 11
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...oes not use it, the 2nd >> patch uses ref_addr. >> If you think I should merge the two and commit as a single patch, let me >> know. >> >> >>> I may need to refer to the second patch in reviewing this first one. >>> DwarfDebug.cpp: >>> computeSizeAndOffsets: >>> I believe this produces the wrong offset for the 3rd CU and >>> onwards. computeSizeAndOffset returns the EndOffset which is absolute, not >>> relative to the Offset passed in, so it should be assigned to SecOffset, >>> not added to it. (eg: if you ha...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...wo and commit as a single patch, let >>>>>> me know. >>>>>> >>>>>> >>>>>>> I may need to refer to the second patch in reviewing this first one. >>>>>>> DwarfDebug.cpp: >>>>>>> computeSizeAndOffsets: >>>>>>> I believe this produces the wrong offset for the 3rd CU and >>>>>>> onwards. computeSizeAndOffset returns the EndOffset which is absolute, not >>>>>>> relative to the Offset passed in, so it should be assigned to SecOffs...
2013 Oct 15
1
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...atch, let >>>>>>> me know. >>>>>>> >>>>>>>> >>>>>>>> I may need to refer to the second patch in reviewing this first one. >>>>>>>> DwarfDebug.cpp: >>>>>>>> computeSizeAndOffsets: >>>>>>>> I believe this produces the wrong offset for the 3rd CU and >>>>>>>> onwards. computeSizeAndOffset returns the EndOffset which is absolute, not >>>>>>>> relative to the Offset passed in, so it should be assigne...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...wo and commit as a single patch, let >>>>>> me know. >>>>>> >>>>>> >>>>>>> I may need to refer to the second patch in reviewing this first one. >>>>>>> DwarfDebug.cpp: >>>>>>> computeSizeAndOffsets: >>>>>>> I believe this produces the wrong offset for the 3rd CU and >>>>>>> onwards. computeSizeAndOffset returns the EndOffset which is absolute, not >>>>>>> relative to the Offset passed in, so it should be assigned to SecOffs...
2013 Oct 15
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...> let me know. >>>>>>> >>>>>>> >>>>>>>> I may need to refer to the second patch in reviewing this first >>>>>>>> one. >>>>>>>> DwarfDebug.cpp: >>>>>>>> computeSizeAndOffsets: >>>>>>>> I believe this produces the wrong offset for the 3rd CU and >>>>>>>> onwards. computeSizeAndOffset returns the EndOffset which is absolute, not >>>>>>>> relative to the Offset passed in, so it should be assigne...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...t;>>>>>> >>>>>>>> >>>>>>>>> I may need to refer to the second patch in reviewing this first >>>>>>>>> one. >>>>>>>>> DwarfDebug.cpp: >>>>>>>>> computeSizeAndOffsets: >>>>>>>>> I believe this produces the wrong offset for the 3rd CU and >>>>>>>>> onwards. computeSizeAndOffset returns the EndOffset which is absolute, not >>>>>>>>> relative to the Offset passed in, so it shoul...
2013 Oct 15
4
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...t;> >>>>>>>>> >>>>>>>>>> I may need to refer to the second patch in reviewing this first >>>>>>>>>> one. >>>>>>>>>> DwarfDebug.cpp: >>>>>>>>>> computeSizeAndOffsets: >>>>>>>>>> I believe this produces the wrong offset for the 3rd CU and >>>>>>>>>> onwards. computeSizeAndOffset returns the EndOffset which is absolute, not >>>>>>>>>> relative to the Offset passed in,...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...gt;>>>>>> >>>>>>>>>>> I may need to refer to the second patch in reviewing this first >>>>>>>>>>> one. >>>>>>>>>>> DwarfDebug.cpp: >>>>>>>>>>> computeSizeAndOffsets: >>>>>>>>>>> I believe this produces the wrong offset for the 3rd CU >>>>>>>>>>> and onwards. computeSizeAndOffset returns the EndOffset which is absolute, >>>>>>>>>>> not relative to the Offse...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...gt;>>>>>> >>>>>>>>>>> I may need to refer to the second patch in reviewing this first >>>>>>>>>>> one. >>>>>>>>>>> DwarfDebug.cpp: >>>>>>>>>>> computeSizeAndOffsets: >>>>>>>>>>> I believe this produces the wrong offset for the 3rd CU >>>>>>>>>>> and onwards. computeSizeAndOffset returns the EndOffset which is absolute, >>>>>>>>>>> not relative to the Offse...
2013 Oct 09
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
Ping -Manman On Fri, Oct 4, 2013 at 7:00 PM, Manman Ren <manman.ren at gmail.com> wrote: > > Hi All, > > The first patch adds support for ref_addr. > Most of it is from r176882, but instead of always using an integer for > ref_addr, we use label + offset for relocation on non-darwin platforms. > > The second patch is a modified version of r191792. > The main
2013 Oct 16
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...gt;>> >>>>>>>>>>>> I may need to refer to the second patch in reviewing this >>>>>>>>>>>> first one. >>>>>>>>>>>> DwarfDebug.cpp: >>>>>>>>>>>> computeSizeAndOffsets: >>>>>>>>>>>> I believe this produces the wrong offset for the 3rd CU >>>>>>>>>>>> and onwards. computeSizeAndOffset returns the EndOffset which is absolute, >>>>>>>>>>>> not relative...
2013 Oct 05
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
Hi All, The first patch adds support for ref_addr. Most of it is from r176882, but instead of always using an integer for ref_addr, we use label + offset for relocation on non-darwin platforms. The second patch is a modified version of r191792. The main change is to use a single map instead of 3 maps in DwarfDebug and instead of calling DwarfDebug::getDIE|insertDIE directly, we delegate the