search for: auxsymbol

Displaying 12 results from an estimated 12 matches for "auxsymbol".

Did you mean: addsymbol
2018 Jan 26
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...t; >>>>> 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 && >>>>> "Expected a single aux symbol to describe this >>>>> section!"); >>>>> const object::coff_aux_section_definition *ObjSD = >>>>> reinterpret_cast<const object::coff_au...
2018 Jan 26
3
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...gt;> 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 && >>>>>> "Expected a single aux symbol to describe this >>>>>> section!"); >>>>>> const object::coff_aux_section_definition *ObjSD = >>>>>> reinterpret_cast<const...
2018 Jan 26
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...ecked the code for coff2yaml, 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 = >>>>>>> reinterpr...
2018 Jan 26
1
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...ay :) >>>> >>>> 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 && >>>> "Expected a single aux symbol to describe this >>>> section!"); >>>> const object::coff_aux_section_definition *ObjSD = >>>> reinterpret_cast<const object::coff_aux_section_defini...
2018 Jan 26
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...9;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 && >>> "Expected a single aux symbol to describe this section!"); >>> const object::coff_aux_section_definition *ObjSD = >>> reinterpret_cast<const object::coff_aux_section_definition >>> *>( >...
2018 Jan 25
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...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 && "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 n...
2018 Jan 26
2
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...e 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 && > "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()); &gt...
2018 Jan 26
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...>> 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 && >> "Expected a single aux symbol to describe this section!"); >> const object::coff_aux_section_definition *ObjSD = >> reinterpret_cast<const object::coff_aux_section_definition *>( >> AuxD...
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 a...
2018 Jan 26
4
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...or coff2yaml, 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 = >>>>>>>>...
2018 Jan 25
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
...Number: 0 ... ``` There's a structure called coff::symbol which basically represents each one of these records. It looks like this: ``` struct symbol { char Name[NameSize]; uint32_t Value; int32_t SectionNumber; uint16_t Type; uint8_t StorageClass; uint8_t NumberOfAuxSymbols; }; ``` So you'll need to create one for the debug$H section and stick it into the list. This particular list doesn't have to be in any special order, so you can just put it at the end (although it's probably not that much harder to insert into the middle, and it will make for a good...
2018 Jan 25
3
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
Any idea on how to create this new symbol there? I saw that there is a symbol pointing to each section, but didn't understand the format, and yaml2obj doesn't check it or do anything with the list. On Thu, Jan 25, 2018 at 6:56 PM, Leonardo Santagada <santagada at gmail.com> wrote: > YES, THANK YOU... I WAS THINKING THIS BUT COMPLETELY FORGOT. > > sorry for the caps... long