Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lld/COFF
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-06-30 03:03:56 +0300
committerRui Ueyama <ruiu@google.com>2015-06-30 03:03:56 +0300
commite40d30f3ea27a8e94e22297f841c62dcd1b382bc (patch)
treef65b7fe1aa7b7d09a13ca254def4e42a656b40cf /lld/COFF
parent16a081f64fcbae385a0ccf55bd1c539103186c10 (diff)
Object/COFF: Define coff_symbol_generic.
If you only need Name and Value fields in the COFF symbol, you don't need to distinguish 32 bit and 64 bit COFF symbols. These fields start at the same offsets and have the same size. This data strucutre is one pointer smaller than COFFSymbolRef thus slightly efficient. I'll use this class in LLD as we create millions of LLD symbol objects that currently contain COFFSymbolRef. Shaving off 8 byte (or 4 byte on 32 bit) from that class actually matters becasue of the number of objects we create in LLD. llvm-svn: 241024
Diffstat (limited to 'lld/COFF')
0 files changed, 0 insertions, 0 deletions