Displaying 3 results from an estimated 3 matches for "shortstring".
Did you mean:
shoestring
2010 May 20
0
[LLVMdev] Win32 COFF Support
On Wed, May 19, 2010 at 10:31 PM, Nathan Jeffords
<blunted2night at gmail.com> wrote:
> 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
2010 May 20
2
[LLVMdev] Win32 COFF Support
...files
and manually inspecting the results of Microsoft's dumpbin utility.
>
> Minor comments:
> 1. Is it possible to allocate extra memory with coff::symbol instead
> of using std::string and std::vector as class members? The extra
> allocations can add up.
>
Yes, I believe ShortString & ShortVector are the appropriate alternative for
these types of cases.
>
> 2. For the following bit:
> + reinterpret_cast <uint32_t &> (Section->Symbol->Aux [0]) =
> Section->Header.SizeOfRawData;
> + reinterpret_cast <uint16_t &> (Section-&g...
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