search for: ref_addr

Displaying 20 results from an estimated 76 matches for "ref_addr".

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 DwarfDebu...
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 change is to use a single map instead of 3 maps in DwarfDebug and >...
2013 Oct 09
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...more test coverage while fixing this issue. Eric/Manman: rough design question: compute the absolute offset of each CU within the debug_info section and describe them all relative to a single symbol at the start of the debug_info section, or should we put a label at the start of each CU? 0002: ref_addr_relocation.ll: seems a bit vague in terms of how you test for the relocation. I think it'd make more sense to test the assembly, than the reafobj output, that way you can test that the correct bytes have the relocation rather than just that there's "some" .debug_info relocatio...
2013 Oct 09
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...t; 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 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. > com...
2013 Oct 11
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...are some thoughts: >>> >>> 0001: >>> This patch generally, while separated for legibility, is untested & >>> difficult to discuss 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...
2013 Oct 11
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
The first patch seems fine, though the comment on the modified addDIEEntry function is a bit confusing: -/// addDIEEntry - Add a DIE attribute data and value. +/// addDIEEntry - Add a DIE attribute data and value. The form should be +/// a reference form: ref1, ref2, ref4, ref8, ref_udata, ref_addr, +/// or ref_sig8. A form can be chosen inside addDIEEntry. When the comment says "The form should be" - it sounds like it /could/ be something else, etc. As though the caller would specify it and must meet some requirement. But the caller doesn't specify it at all. I'd probably...
2013 Oct 10
4
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...re on Phabricator, but here are some thoughts: >> >> 0001: >> This patch generally, while separated for legibility, is untested & >> difficult to discuss 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 f...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...> 0001: >>>>> This patch generally, while separated for legibility, is untested & >>>>> difficult to discuss 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: >>>>>...
2013 Oct 15
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...gt;> >>>> 0001: >>>> This patch generally, while separated for legibility, is untested & >>>> difficult to discuss 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: &...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...This patch generally, while separated for legibility, is untested >>>>>>> & difficult to discuss 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. >>>>>...
2013 Oct 15
1
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...generally, while separated for legibility, is untested >>>>>>>> & difficult to discuss 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 on...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...are some thoughts: >>> >>> 0001: >>> This patch generally, while separated for legibility, is untested & >>> difficult to discuss 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...
2013 Oct 15
4
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...gt;>>> This patch generally, while separated for legibility, is untested & >>>>>> difficult to discuss 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.cp...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...This patch generally, while separated for legibility, is untested >>>>>>> & difficult to discuss 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. >>>>>...
2013 Oct 16
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
On Wed, Oct 16, 2013 at 1:33 PM, Manman Ren <manman.ren at gmail.com> wrote: > >> patch looks fairly obvious/trivial >> >> Have you tried any of the test cases I've described (special members, >> nested types, and member templates - all used across CUs so an earlier CU >> has the type definition and a latter one has one of these extra members)? >>
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...parated for legibility, is >>>>>>>>> untested & difficult to discuss 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 review...
2013 Oct 15
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...erally, while separated for legibility, is untested >>>>>>>> & difficult to discuss 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 >&...
2013 Oct 16
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
> > > patch looks fairly obvious/trivial > > Have you tried any of the test cases I've described (special members, > nested types, and member templates - all used across CUs so an earlier CU > has the type definition and a latter one has one of these extra members)? > I'd like to see test results for these before we progress. > Yes, templates and nested types
2013 Oct 17
1
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
On Wed, Oct 16, 2013 at 2:00 PM, David Blaikie <dblaikie at gmail.com> wrote: > > > > On Wed, Oct 16, 2013 at 1:33 PM, Manman Ren <manman.ren at gmail.com> wrote: > >> >>> patch looks fairly obvious/trivial >>> >>> Have you tried any of the test cases I've described (special members, >>> nested types, and member templates -
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...gt;>>>>>>>>> untested & difficult to discuss 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 nee...