Displaying 3 results from an estimated 3 matches for "name_section_map".
2010 May 20
0
[LLVMdev] Win32 COFF Support
...d::list <symbol*> symbols;
+ typedef std::list <section*> sections;
Avoid std::list; see http://llvm.org//docs/ProgrammersManual.html#dss_list .
4. For the following bit:
+ typedef StringMap <coff::symbol *> name_symbol_map;
+ typedef StringMap <coff::section *> name_section_map;
Unused typedefs?
5. For the following bit (and a few others in the same function):
+ for (i = Sections.begin(), j = Asm.begin();
+ (i != Sections.end()) && (j != Asm.end());
+ i++, j++) {
http://llvm.org//docs/CodingStandards.html#ll_end
6.
+namespace llvm { MCObject...
2010 May 20
6
[LLVMdev] Win32 COFF Support
Hi guys,
I have attached my patch to support generating win32 COFF object files. I
would have posted earlier, but my system drive crashed and I had to rebuild
my system; Luckily, my source code was on a secondary drive. I think this
would be a good beginning for ongoing support of the COFF object file format
and was hoping for some feedback as to whether it was commit worthy or what
was needed to
2010 May 20
2
[LLVMdev] Win32 COFF Support
...o that. I must have had a list of objects,
then changed it to pointers to objects and didn't rethink what type of
container I was using.
>
> 4. For the following bit:
> + typedef StringMap <coff::symbol *> name_symbol_map;
> + typedef StringMap <coff::section *> name_section_map;
>
> Unused typedefs?
>
Left over from previous version of the implementation, will remove.
>
> 5. For the following bit (and a few others in the same function):
> + for (i = Sections.begin(), j = Asm.begin();
> + (i != Sections.end()) && (j != Asm.end());...