summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-10-26 02:45:50 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-10-26 02:45:50 +0000
commita375b26144dc4d92e059c3496d21e54a754cf3e8 (patch)
tree023334d60689ad70480f40b88b01cbad92bf9f34 /llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
parent4aa984c1a2c4e240b3f9cac5f0439fcde436a034 (diff)
downloadbcm5719-llvm-a375b26144dc4d92e059c3496d21e54a754cf3e8.tar.gz
bcm5719-llvm-a375b26144dc4d92e059c3496d21e54a754cf3e8.zip
[MC] Don't crash when .word is given bogus values
We didn't validate that the .word directive was given a sane value, leading to crashes when we attempt to write out the object file. Instead, perform some validation and issue a diagnostic pointing at the start of the diagnostic. llvm-svn: 251270
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud