diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-10-26 02:45:50 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-10-26 02:45:50 +0000 |
commit | a375b26144dc4d92e059c3496d21e54a754cf3e8 (patch) | |
tree | 023334d60689ad70480f40b88b01cbad92bf9f34 /llvm/lib/CodeGen/ProcessImplicitDefs.cpp | |
parent | 4aa984c1a2c4e240b3f9cac5f0439fcde436a034 (diff) | |
download | bcm5719-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/ProcessImplicitDefs.cpp')
0 files changed, 0 insertions, 0 deletions