aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-08-20 22:46:38 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-08-20 22:46:38 +0000
commite5864c69a8a247f07b88b99cccc1032129cc27ac (patch)
tree8d5de85d600eb0812320fdff67e83b8c7701f05a /llvm/lib/Support/StringRef.cpp
parent50de57df6d0a706ea5451e1ccf8878d8298ae9c7 (diff)
downloadllvm-e5864c69a8a247f07b88b99cccc1032129cc27ac.zip
llvm-e5864c69a8a247f07b88b99cccc1032129cc27ac.tar.gz
llvm-e5864c69a8a247f07b88b99cccc1032129cc27ac.tar.bz2
Don't allow MCStreamer::EmitIntValue to output 0-byte integers.
It makes no sense and can hide bugs. In particular, it lead to left shift by 64 bits, which is an undefined behavior, properly reported by UBSan. llvm-svn: 216134
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions