Object: Shrink the size of irsymtab::Symbol by a word. NFCI.
authorPeter Collingbourne <peter@pcc.me.uk>
Mon, 17 Apr 2017 23:43:49 +0000 (23:43 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Mon, 17 Apr 2017 23:43:49 +0000 (23:43 +0000)
commit76423dce15107a7ad772677eefba5597fcb59f98
tree28c1f8b0ca5d55aecffb72f309a34e338a07b17c
parenta9b3d0975af225794fbfb9349d271d67670a8d19
Object: Shrink the size of irsymtab::Symbol by a word. NFCI.

Instead of storing an UncommonIndex on the Symbol, use a flag bit to store
whether the Symbol has an Uncommon. This shrinks Chromium's .bc files (after
D32061) by about 1%.

Differential Revision: https://reviews.llvm.org/D32070

llvm-svn: 300514
llvm/include/llvm/Object/IRSymtab.h
llvm/lib/Object/IRSymtab.cpp