Make MCSymbol::Name be a union of uint64_t and a pointer.
authorPete Cooper <peter_cooper@apple.com>
Tue, 9 Jun 2015 19:56:05 +0000 (19:56 +0000)
committerPete Cooper <peter_cooper@apple.com>
Tue, 9 Jun 2015 19:56:05 +0000 (19:56 +0000)
commit5c8a22f11bd4784cd6b9c375289dadcdc521d49e
treed6754c36c80f39e70d361e3788fb092e26d00477
parent0e3246a86f553aa6fae35d3bfb91de81dd66a18b
Make MCSymbol::Name be a union of uint64_t and a pointer.

This should hopefully fix the 32-bit bots which were allocating space for a pointer
but needed to be aligned to 64-bits.

Now we allocate enough space for a uint64_t and a pointer and cast to the appropriate storage

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