[PATCH] [LLD] COFF: Make DefinedCOFF one pointer smaller

Rui Ueyama ruiu at google.com
Mon Jun 29 15:38:25 PDT 2015


Hi chandlerc,

COFFSymbolRef is a container type for coff_symbol16 and coff_symbol32.
The difference between 16 and 32 matters only for SectionNumber, Type,
StorageClass and NumberOfAuxSymbols. Name and Value fields are at
the same offsets. So we don't need to distinguish them.

http://reviews.llvm.org/D10818

Files:
  COFF/Symbols.cpp
  COFF/Symbols.h

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10818.28720.patch
Type: text/x-patch
Size: 3025 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150629/9cdc1327/attachment.bin>


More information about the llvm-commits mailing list