search for: coffparser

Displaying 20 results from an estimated 32 matches for "coffparser".

2018 Jan 20
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...ink yaml2coff is convoluted, the way clang does it will just give you a headache. There are multiple abstractions involved to account for different object file formats (ELF, COFF, MachO) and output formats (Assembly, binary file). At least with yaml2coff It's true that yaml2coff is using the COFFParser structure, but if you look at the writeCOFF function in yaml2coff it's pretty bare-metal. The logic you need will be almost identical, except that instead of checking the COFFParser for the various fields, you'll check the existing COFFObjectFile, which should have similar fields. The onl...
2018 Jan 20
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...e formats (ELF, >> COFF, MachO) and output formats (Assembly, binary file). At least with >> yaml2coff >> > > I think your phrase got cut there, but yeah I just found AsmPrinter.cpp > and it is convoluted. > > > >> It's true that yaml2coff is using the COFFParser structure, but if you >> look at the writeCOFF function in yaml2coff it's pretty bare-metal. The >> logic you need will be almost identical, except that instead of checking >> the COFFParser for the various fields, you'll check the existing >> COFFObjectFile, which...
2018 Jan 20
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...volved to account for different object file formats (ELF, > COFF, MachO) and output formats (Assembly, binary file). At least with > yaml2coff > I think your phrase got cut there, but yeah I just found AsmPrinter.cpp and it is convoluted. > It's true that yaml2coff is using the COFFParser structure, but if you > look at the writeCOFF function in yaml2coff it's pretty bare-metal. The > logic you need will be almost identical, except that instead of checking > the COFFParser for the various fields, you'll check the existing > COFFObjectFile, which should have simi...
2018 Jan 20
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...de). What I can't find is: how does clang itself writes the coff files with global hashes, as that might help me understand how to create the .debug$H section, how to update the file section count and how to properly write this back. The code on yaml2coff is expecting to be working on the yaml COFFParser struct and I'm having quite a bit of a headache turning the COFFObjectFile into a COFFParser object or compatible... Tomorrow I might try the very non efficient path of coff2yaml and then yaml2coff with the hashes header... but it seems way too inefficient and convoluted. On Fri, Jan 19, 2018...
2018 Jan 20
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...) and output formats (Assembly, binary file). At least with >>> yaml2coff >>> >> >> I think your phrase got cut there, but yeah I just found AsmPrinter.cpp >> and it is convoluted. >> >> >> >>> It's true that yaml2coff is using the COFFParser structure, but if you >>> look at the writeCOFF function in yaml2coff it's pretty bare-metal. >>> The logic you need will be almost identical, except that instead of >>> checking the COFFParser for the various fields, you'll check the existing >>> COFFObj...
2018 Jan 20
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...ry file). At least with >>>> yaml2coff >>>> >>> >>> I think your phrase got cut there, but yeah I just found AsmPrinter.cpp >>> and it is convoluted. >>> >>> >>> >>>> It's true that yaml2coff is using the COFFParser structure, but if you >>>> look at the writeCOFF function in yaml2coff it's pretty bare-metal. >>>> The logic you need will be almost identical, except that instead of >>>> checking the COFFParser for the various fields, you'll check the existing >>...
2018 Jan 20
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...;>> yaml2coff >>>>> >>>> >>>> I think your phrase got cut there, but yeah I just found AsmPrinter.cpp >>>> and it is convoluted. >>>> >>>> >>>> >>>>> It's true that yaml2coff is using the COFFParser structure, but if you >>>>> look at the writeCOFF function in yaml2coff it's pretty bare-metal. >>>>> The logic you need will be almost identical, except that instead of >>>>> checking the COFFParser for the various fields, you'll check the exist...
2018 Jan 20
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...>>> >>>>> >>>>> I think your phrase got cut there, but yeah I just found >>>>> AsmPrinter.cpp and it is convoluted. >>>>> >>>>> >>>>> >>>>>> It's true that yaml2coff is using the COFFParser structure, but if >>>>>> you look at the writeCOFF function in yaml2coff it's pretty >>>>>> bare-metal. The logic you need will be almost identical, except that >>>>>> instead of checking the COFFParser for the various fields, you'll ch...
2018 Jan 19
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
On Fri, Jan 19, 2018 at 1:02 PM Leonardo Santagada <santagada at gmail.com> wrote: > On Fri, Jan 19, 2018 at 9:44 PM, Zachary Turner <zturner at google.com> > wrote: > >> >> >> On Fri, Jan 19, 2018 at 12:29 PM Leonardo Santagada <santagada at gmail.com> >> wrote: >> >>> Hi, >>> >>> No I didn't, I used cl.exe
2018 Jan 22
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...t;>>> I think your phrase got cut there, but yeah I just found >>>>>>> AsmPrinter.cpp and it is convoluted. >>>>>>> >>>>>>> >>>>>>> >>>>>>>> It's true that yaml2coff is using the COFFParser structure, but if >>>>>>>> you look at the writeCOFF function in yaml2coff it's pretty >>>>>>>> bare-metal. The logic you need will be almost identical, except that >>>>>>>> instead of checking the COFFParser for the vario...
2018 Jan 21
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...;>> >>>>>> I think your phrase got cut there, but yeah I just found >>>>>> AsmPrinter.cpp and it is convoluted. >>>>>> >>>>>> >>>>>> >>>>>>> It's true that yaml2coff is using the COFFParser structure, but if >>>>>>> you look at the writeCOFF function in yaml2coff it's pretty >>>>>>> bare-metal. The logic you need will be almost identical, except that >>>>>>> instead of checking the COFFParser for the various fields, y...
2018 Jan 22
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...nk your phrase got cut there, but yeah I just found >>>>>>>> AsmPrinter.cpp and it is convoluted. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> It's true that yaml2coff is using the COFFParser structure, but if >>>>>>>>> you look at the writeCOFF function in yaml2coff it's pretty >>>>>>>>> bare-metal. The logic you need will be almost identical, except that >>>>>>>>> instead of checking the COFFParser f...
2018 Jan 22
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...ut there, but yeah I just found >>>>>>>>> AsmPrinter.cpp and it is convoluted. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> It's true that yaml2coff is using the COFFParser structure, but >>>>>>>>>> if you look at the writeCOFF function in yaml2coff it's pretty >>>>>>>>>> bare-metal. The logic you need will be almost identical, except that >>>>>>>>>> instead of checking the...
2018 Jan 22
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...>>>>>>>>> AsmPrinter.cpp and it is convoluted. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> It's true that yaml2coff is using the COFFParser structure, but >>>>>>>>>>>> if you look at the writeCOFF function in yaml2coff it's pretty >>>>>>>>>>>> bare-metal. The logic you need will be almost identical, except that >>>>>>>>>>>>...
2018 Jan 22
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...just found >>>>>>>>>> AsmPrinter.cpp and it is convoluted. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> It's true that yaml2coff is using the COFFParser structure, but >>>>>>>>>>> if you look at the writeCOFF function in yaml2coff it's pretty >>>>>>>>>>> bare-metal. The logic you need will be almost identical, except that >>>>>>>>>>> instead of c...
2018 Jan 24
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...> AsmPrinter.cpp and it is convoluted. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>>> It's true that yaml2coff is using the COFFParser structure, >>>>>>>>>>>>>> but if you look at the writeCOFF function in yaml2coff it's >>>>>>>>>>>>>> pretty bare-metal. The logic you need will be almost identical, except >>>>>>>>>&g...
2018 Jan 22
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...>>>>> AsmPrinter.cpp and it is convoluted. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>>> It's true that yaml2coff is using the COFFParser structure, >>>>>>>>>>>>> but if you look at the writeCOFF function in yaml2coff it's >>>>>>>>>>>>> pretty bare-metal. The logic you need will be almost identical, except >>>>>>>>>>>&g...
2018 Jan 25
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...cpp and it is convoluted. >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>>> It's true that yaml2coff is using the COFFParser structure, >>>>>>>>>>>>>>> but if you look at the writeCOFF function in yaml2coff it's >>>>>>>>>>>>>>> pretty bare-metal. The logic you need will be almost identical, except >>>>>>>&g...
2018 Jan 25
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...nvoluted. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> It's true that yaml2coff is using the COFFParser structure, >>>>>>>>>>>>>>>> but if you look at the writeCOFF function in yaml2coff >>>>>>>>>>>>>>>> it's pretty bare-metal. The logic you need will be almost identical, >>>>>>>&...
2018 Jan 25
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...t;>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> It's true that yaml2coff is using the COFFParser >>>>>>>>>>>>>>>>>> structure, but if you look at the writeCOFF function in >>>>>>>>>>>>>>>>>> yaml2coff it's pretty bare-metal. The logic you need will be almost >>>>>>...