search for: coff2yaml

Displaying 20 results from an estimated 64 matches for "coff2yaml".

2018 Jan 26
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
Okay, apparently coff2yaml and yaml2coff are not in a great place as they both don't deal well with the fact that you can have overlapping sections, which seems to be what clang-cl produces (the .data section points to the same place as a later section). Which is not a big big problem for me particularly because msvc doe...
2018 Jan 26
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...le to LLD. At the > very least, we're not aware of any cases that don't work. > > Does your MSVC .obj file link fine before you add the .debug$H? > > On Fri, Jan 26, 2018 at 11:23 AM Leonardo Santagada <santagada at gmail.com> > wrote: > >> Okay, apparently coff2yaml and yaml2coff are not in a great place as they >> both don't deal well with the fact that you can have overlapping sections, >> which seems to be what clang-cl produces (the .data section points to the >> same place as a later section). Which is not a big big problem for me &g...
2018 Jan 26
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...d be able to accept any MSVC .obj file to LLD. At the very least, we're not aware of any cases that don't work. Does your MSVC .obj file link fine before you add the .debug$H? On Fri, Jan 26, 2018 at 11:23 AM Leonardo Santagada <santagada at gmail.com> wrote: > Okay, apparently coff2yaml and yaml2coff are not in a great place as they > both don't deal well with the fact that you can have overlapping sections, > which seems to be what clang-cl produces (the .data section points to the > same place as a later section). Which is not a big big problem for me > particula...
2018 Jan 26
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...least, we're not aware of any cases that don't work. >> >> Does your MSVC .obj file link fine before you add the .debug$H? >> >> On Fri, Jan 26, 2018 at 11:23 AM Leonardo Santagada <santagada at gmail.com> >> wrote: >> >>> Okay, apparently coff2yaml and yaml2coff are not in a great place as >>> they both don't deal well with the fact that you can have overlapping >>> sections, which seems to be what clang-cl produces (the .data section >>> points to the same place as a later section). Which is not a big big >&...
2018 Jan 26
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...of any cases that don't work. >>> >>> Does your MSVC .obj file link fine before you add the .debug$H? >>> >>> On Fri, Jan 26, 2018 at 11:23 AM Leonardo Santagada <santagada at gmail.com> >>> wrote: >>> >>>> Okay, apparently coff2yaml and yaml2coff are not in a great place as >>>> they both don't deal well with the fact that you can have overlapping >>>> sections, which seems to be what clang-cl produces (the .data section >>>> points to the same place as a later section). Which is not a b...
2018 Jan 28
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...ork. >>>> >>>> Does your MSVC .obj file link fine before you add the .debug$H? >>>> >>>> On Fri, Jan 26, 2018 at 11:23 AM Leonardo Santagada < >>>> santagada at gmail.com> wrote: >>>> >>>>> Okay, apparently coff2yaml and yaml2coff are not in a great place as >>>>> they both don't deal well with the fact that you can have overlapping >>>>> sections, which seems to be what clang-cl produces (the .data section >>>>> points to the same place as a later section). Whic...
2018 Jan 28
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...t;>>>> Does your MSVC .obj file link fine before you add the .debug$H? >>>>> >>>>> On Fri, Jan 26, 2018 at 11:23 AM Leonardo Santagada < >>>>> santagada at gmail.com> wrote: >>>>> >>>>>> Okay, apparently coff2yaml and yaml2coff are not in a great place as >>>>>> they both don't deal well with the fact that you can have overlapping >>>>>> sections, which seems to be what clang-cl produces (the .data section >>>>>> points to the same place as a later se...
2018 Jan 26
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
yeah, apparently .bss has a flag of unitialized data that is not being respected on the layout of the coff files (it should skip those sections) but I dunno what to do with .data as it doesn't have a size. (resending as apparently my pastes generated a ton of hidden html data and this message hit the mailinglist limit of 100k) -- Leonardo Santagada -------------- next part -------------- An
2020 Sep 16
2
Making library calls for obj2yaml functionalities
...ectYAML. In general, there seems to be an inconsistency regarding how obj2yaml and yaml2obj tools are structured. The latter has a nice wrapper which calls environment-dependent functions under lib/ObjectYAML, but the former has environment-dependent source files under tools/obj2yaml (elf2yaml.cc, coff2yaml.cc, etc). I wanted to reach out to ask if there is any alternative or get an idea about the amount of refactoring work that is required to make the structure friendlier. bests, -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm...
2018 Jan 28
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...oes your MSVC .obj file link fine before you add the .debug$H? >>>>>> >>>>>> On Fri, Jan 26, 2018 at 11:23 AM Leonardo Santagada < >>>>>> santagada at gmail.com> wrote: >>>>>> >>>>>>> Okay, apparently coff2yaml and yaml2coff are not in a great place as >>>>>>> they both don't deal well with the fact that you can have overlapping >>>>>>> sections, which seems to be what clang-cl produces (the .data section >>>>>>> points to the same place a...
2018 Jan 28
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...ile link fine before you add the .debug$H? >>>>>>> >>>>>>> On Fri, Jan 26, 2018 at 11:23 AM Leonardo Santagada < >>>>>>> santagada at gmail.com> wrote: >>>>>>> >>>>>>>> Okay, apparently coff2yaml and yaml2coff are not in a great place >>>>>>>> as they both don't deal well with the fact that you can have overlapping >>>>>>>> sections, which seems to be what clang-cl produces (the .data section >>>>>>>> points to the...
2018 Jan 26
4
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...>>>>> >>>>>>>> I haven't really dabbled in this part of the COFF format >>>>>>>> personally, so hopefully I'm not leading you astray :) >>>>>>>> >>>>>>>> But I checked the code for coff2yaml, and I see this: >>>>>>>> >>>>>>>> } else if (Symbol.isSectionDefinition()) { >>>>>>>> // This symbol represents a section definition. >>>>>>>> assert(Symbol.getNumberOfAuxSymbols()...
2018 Jan 29
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...H? >>>>>>>>> >>>>>>>>> On Fri, Jan 26, 2018 at 11:23 AM Leonardo Santagada < >>>>>>>>> santagada at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Okay, apparently coff2yaml and yaml2coff are not in a great place >>>>>>>>>> as they both don't deal well with the fact that you can have overlapping >>>>>>>>>> sections, which seems to be what clang-cl produces (the .data section >>>>>>>&gt...
2018 Jan 29
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...you add the .debug$H? >>>>>>>> >>>>>>>> On Fri, Jan 26, 2018 at 11:23 AM Leonardo Santagada < >>>>>>>> santagada at gmail.com> wrote: >>>>>>>> >>>>>>>>> Okay, apparently coff2yaml and yaml2coff are not in a great place >>>>>>>>> as they both don't deal well with the fact that you can have overlapping >>>>>>>>> sections, which seems to be what clang-cl produces (the .data section >>>>>>>>> po...
2018 Jan 29
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...gt;>>>>> >>>>>>>>>> On Fri, Jan 26, 2018 at 11:23 AM Leonardo Santagada < >>>>>>>>>> santagada at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Okay, apparently coff2yaml and yaml2coff are not in a great >>>>>>>>>>> place as they both don't deal well with the fact that you can have >>>>>>>>>>> overlapping sections, which seems to be what clang-cl produces (the .data >>>>>>>&gt...
2018 Jan 29
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...gt;> >>>>>>>>>>> On Fri, Jan 26, 2018 at 11:23 AM Leonardo Santagada < >>>>>>>>>>> santagada at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Okay, apparently coff2yaml and yaml2coff are not in a great >>>>>>>>>>>> place as they both don't deal well with the fact that you can have >>>>>>>>>>>> overlapping sections, which seems to be what clang-cl produces (the .data >>>>>&gt...
2018 Jan 29
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...>>>>>>>>>> On Fri, Jan 26, 2018 at 11:23 AM Leonardo Santagada < >>>>>>>>>>>> santagada at gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Okay, apparently coff2yaml and yaml2coff are not in a great >>>>>>>>>>>>> place as they both don't deal well with the fact that you can have >>>>>>>>>>>>> overlapping sections, which seems to be what clang-cl produces (the .data >>>&gt...
2018 Jan 29
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...>>>>>>> On Fri, Jan 26, 2018 at 11:23 AM Leonardo Santagada < >>>>>>>>>>>>> santagada at gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Okay, apparently coff2yaml and yaml2coff are not in a great >>>>>>>>>>>>>> place as they both don't deal well with the fact that you can have >>>>>>>>>>>>>> overlapping sections, which seems to be what clang-cl produces (the .data >&gt...
2020 Sep 18
2
Making library calls for obj2yaml functionalities
...be an inconsistency regarding how obj2yaml and >> yaml2obj tools are structured. The latter has a nice wrapper which calls >> environment-dependent functions under lib/ObjectYAML, but the former has >> environment-dependent source files under tools/obj2yaml (elf2yaml.cc, >> coff2yaml.cc, etc). >> >> I wanted to reach out to ask if there is any alternative or get an idea >> about the amount of refactoring work that is required to make the structure >> friendlier. >> >> bests, >> > -------------- next part -------------- An HTML attach...
2018 Jan 26
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...t;zturner at google.com> >>>> wrote: >>>> >>>>> I haven't really dabbled in this part of the COFF format personally, >>>>> so hopefully I'm not leading you astray :) >>>>> >>>>> But I checked the code for coff2yaml, and I see this: >>>>> >>>>> } else if (Symbol.isSectionDefinition()) { >>>>> // This symbol represents a section definition. >>>>> assert(Symbol.getNumberOfAuxSymbols() == 1 && >>>>>...