search for: coff_aux_section_definit

Displaying 10 results from an estimated 10 matches for "coff_aux_section_definit".

2018 Jan 26
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...// This symbol represents a section definition. >>>>> assert(Symbol.getNumberOfAuxSymbols() == 1 && >>>>> "Expected a single aux symbol to describe this >>>>> section!"); >>>>> const object::coff_aux_section_definition *ObjSD = >>>>> reinterpret_cast<const object::coff_aux_section_definition >>>>> *>( >>>>> AuxData.data()); >>>>> >>>>> So it looks like you need exactly 1 aux symbol for each section symb...
2018 Jan 26
3
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...epresents a section definition. >>>>>> assert(Symbol.getNumberOfAuxSymbols() == 1 && >>>>>> "Expected a single aux symbol to describe this >>>>>> section!"); >>>>>> const object::coff_aux_section_definition *ObjSD = >>>>>> reinterpret_cast<const object::coff_aux_section_definition >>>>>> *>( >>>>>> AuxData.data()); >>>>>> >>>>>> So it looks like you need exactly 1 aux symbol f...
2018 Jan 26
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...ion definition. >>>>>>> assert(Symbol.getNumberOfAuxSymbols() == 1 && >>>>>>> "Expected a single aux symbol to describe this >>>>>>> section!"); >>>>>>> const object::coff_aux_section_definition *ObjSD = >>>>>>> reinterpret_cast<const >>>>>>> object::coff_aux_section_definition *>( >>>>>>> AuxData.data()); >>>>>>> >>>>>>> So it looks like you need ex...
2018 Jan 26
4
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...>>>>>>>> assert(Symbol.getNumberOfAuxSymbols() == 1 && >>>>>>>> "Expected a single aux symbol to describe this >>>>>>>> section!"); >>>>>>>> const object::coff_aux_section_definition *ObjSD = >>>>>>>> reinterpret_cast<const >>>>>>>> object::coff_aux_section_definition *>( >>>>>>>> AuxData.data()); >>>>>>>> >>>>>>>> So it lo...
2018 Jan 26
1
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...gt;> // This symbol represents a section definition. >>>> assert(Symbol.getNumberOfAuxSymbols() == 1 && >>>> "Expected a single aux symbol to describe this >>>> section!"); >>>> const object::coff_aux_section_definition *ObjSD = >>>> reinterpret_cast<const object::coff_aux_section_definition >>>> *>( >>>> AuxData.data()); >>>> >>>> So it looks like you need exactly 1 aux symbol for each section symbol. >>>>...
2018 Jan 26
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...sSectionDefinition()) { >>> // This symbol represents a section definition. >>> assert(Symbol.getNumberOfAuxSymbols() == 1 && >>> "Expected a single aux symbol to describe this section!"); >>> const object::coff_aux_section_definition *ObjSD = >>> reinterpret_cast<const object::coff_aux_section_definition >>> *>( >>> AuxData.data()); >>> >>> So it looks like you need exactly 1 aux symbol for each section symbol. >>> >>> I then scr...
2018 Jan 25
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...off2yaml, and I see this: } else if (Symbol.isSectionDefinition()) { // This symbol represents a section definition. assert(Symbol.getNumberOfAuxSymbols() == 1 && "Expected a single aux symbol to describe this section!"); const object::coff_aux_section_definition *ObjSD = reinterpret_cast<const object::coff_aux_section_definition *>( AuxData.data()); So it looks like you need exactly 1 aux symbol for each section symbol. I then scrolled up in this function to figure out where AuxData comes from, and it comes from COFFO...
2018 Jan 26
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...; > } else if (Symbol.isSectionDefinition()) { > // This symbol represents a section definition. > assert(Symbol.getNumberOfAuxSymbols() == 1 && > "Expected a single aux symbol to describe this section!"); > const object::coff_aux_section_definition *ObjSD = > reinterpret_cast<const object::coff_aux_section_definition *>( > AuxData.data()); > > So it looks like you need exactly 1 aux symbol for each section symbol. > > I then scrolled up in this function to figure out where AuxData comes &...
2018 Jan 26
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...lse if (Symbol.isSectionDefinition()) { >> // This symbol represents a section definition. >> assert(Symbol.getNumberOfAuxSymbols() == 1 && >> "Expected a single aux symbol to describe this section!"); >> const object::coff_aux_section_definition *ObjSD = >> reinterpret_cast<const object::coff_aux_section_definition *>( >> AuxData.data()); >> >> So it looks like you need exactly 1 aux symbol for each section symbol. >> >> I then scrolled up in this function to figure o...
2018 Jan 25
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
I see that there is an auxsymbol per section symbol, and also on the yaml representation there is a checksum, selection and unused all of them I have no idea how to fill in, also this aux symbol might have some important information for me to patch on the other symbols. Can you find the part in llvm that it writes those? because at least for auxsymbol the yaml part of the code threats as a binary