summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCObjectFileInfo.cpp
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2014-02-01 16:20:54 +0000
committerDavid Woodhouse <dwmw2@infradead.org>2014-02-01 16:20:54 +0000
commitf42a666250aa64dde2ecf9fc224fcf46dd8f30f7 (patch)
treefe3c4ff945ffe1abed78f37d35e2ced3559f9986 /llvm/lib/MC/MCObjectFileInfo.cpp
parent1665152cce9c95fcf79c8738d7a331bd80d63b82 (diff)
downloadbcm5719-llvm-f42a666250aa64dde2ecf9fc224fcf46dd8f30f7.tar.gz
bcm5719-llvm-f42a666250aa64dde2ecf9fc224fcf46dd8f30f7.zip
MC: Add AsmLexer::BigNum token for integers greater than 64 bits
This will be needed for .octa support, but we don't want to just use the existing AsmLexer::Integer for it and then have to litter all its users with explicit checks for the size, and make them use the new get APIntVal() method. So let the lexer produce an AsmLexer::Integer as before for numbers which are small enough — which appears to cover what was previously a nasty special case handling of numbers which don't fit in int64_t but *do* fit in uint64_t. Where the number is too large even for that, produce an AsmLexer::BigNum instead. We do nothing with these except complain about them for now, but that will be changed shortly... Based on a patch from PaX Team <pageexec@freemail.hu> llvm-svn: 200613
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud