[PATCH] Object/COFF: Add export table entry structs.
Rafael EspĂndola
rafael.espindola at gmail.com
Thu Dec 5 11:42:07 PST 2013
Matches the documentation. LGTM.
On 5 December 2013 01:45, Rui Ueyama <ruiu at google.com> wrote:
> Hi Bigcheese,
>
> Object/COFF: Add export table entry structs.
>
> http://llvm-reviews.chandlerc.com/D2335
>
> Files:
> include/llvm/Object/COFF.h
>
> Index: include/llvm/Object/COFF.h
> ===================================================================
> --- include/llvm/Object/COFF.h
> +++ include/llvm/Object/COFF.h
> @@ -157,6 +157,28 @@
> }
> };
>
> +struct export_directory_table_entry {
> + support::ulittle32_t ExportFlags;
> + support::ulittle32_t TimeDateStamp;
> + support::ulittle16_t MajorVersion;
> + support::ulittle16_t MinorVersion;
> + support::ulittle32_t NameRVA;
> + support::ulittle32_t OrdinalBase;
> + support::ulittle32_t AddressTableEntries;
> + support::ulittle32_t NumberOfNamePointers;
> + support::ulittle32_t ExportAddressTableRVA;
> + support::ulittle32_t NamePointerRVA;
> + support::ulittle32_t OrdinalTableRVA;
> +};
> +
> +struct export_address_table_entry {
> + support::ulittle32_t ExportRVA;
> + support::ulittle32_t ForwarderRVA;
> +};
> +
> +typedef support::ulittle32_t export_name_pointer_table_entry;
> +typedef support::ulittle16_t export_ordinal_table_entry;
> +
> struct coff_symbol {
> struct StringTableOffset {
> support::ulittle32_t Zeroes;
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
More information about the llvm-commits
mailing list