Move MCSymbol Value in to the union of Offset and CommonSize.
authorPete Cooper <peter_cooper@apple.com>
Mon, 22 Jun 2015 19:57:33 +0000 (19:57 +0000)
committerPete Cooper <peter_cooper@apple.com>
Mon, 22 Jun 2015 19:57:33 +0000 (19:57 +0000)
commit8b4b91acd815dd9603dc0408d9fa2bb8dc6b2397
tree6af35adbd128fe6e745fe74eb3ad7f1fb322f1c9
parent54d0bc35feed76f5299689051ec3d728379a9bc2
Move MCSymbol Value in to the union of Offset and CommonSize.

This is a reapplication of r239440 which was reverted in r239441.
There are no changes to this patch from then, but this had instead exposed
a bug in .thumb_set which was fixed in r240318.  Having fixed that bug, it
is now safe to re-apply this code.

Original commit message below:

It wasn't possible to have a variable Symbol with offset or 'isCommon' so
this just enables better packing of the MCSymbol class.

Reviewed by Rafael Espindola.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240320 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCSymbol.h
lib/MC/MCSymbol.cpp