diff options
author | Alex Bradbury <asb@lowrisc.org> | 2019-07-16 04:37:19 +0000 |
---|---|---|
committer | Alex Bradbury <asb@lowrisc.org> | 2019-07-16 04:37:19 +0000 |
commit | e9ad0cf6cf79cfa5f8ce99db0f7161e110850011 (patch) | |
tree | da6f65a6da00fdcd6616220dc359bb758709ba71 /clang/lib/Basic/FixedPoint.cpp | |
parent | ef8577ef98717c1c6a66293de3b2cc0f09e8c3ff (diff) | |
download | bcm5719-llvm-e9ad0cf6cf79cfa5f8ce99db0f7161e110850011.tar.gz bcm5719-llvm-e9ad0cf6cf79cfa5f8ce99db0f7161e110850011.zip |
[RISCV] Fix a potential issue in shouldInsertFixupForCodeAlign()
The bool result of shouldInsertExtraNopBytesForCodeAlign() is not checked but
the returned nop count is unconditionally read even though it could be
uninitialized.
Differential Revision: https://reviews.llvm.org/D63285
Patch by Edward Jones.
llvm-svn: 366175
Diffstat (limited to 'clang/lib/Basic/FixedPoint.cpp')
0 files changed, 0 insertions, 0 deletions