diff options
author | Ana Pazos <apazos@codeaurora.org> | 2018-10-11 22:49:13 +0000 |
---|---|---|
committer | Ana Pazos <apazos@codeaurora.org> | 2018-10-11 22:49:13 +0000 |
commit | 0a5fcefa31bad39e7473a034c5ec3b4ed0c7f439 (patch) | |
tree | 668d04e8db5d33934593af96492d0a3e7a28bdbd /clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp | |
parent | dfd1760b5f09470175638cc97ae033e750b92703 (diff) | |
download | bcm5719-llvm-0a5fcefa31bad39e7473a034c5ec3b4ed0c7f439.tar.gz bcm5719-llvm-0a5fcefa31bad39e7473a034c5ec3b4ed0c7f439.zip |
[RISCV] Fix disassembling of fence instruction with invalid field
Summary:
Instruction with 0 in fence field being disassembled as fence , iorw.
Printing "unknown" to match GAS behavior.
This bug was uncovered by a LLVM MC Disassembler Protocol Buffer Fuzzer
for the RISC-V assembly language.
Reviewers: asb
Subscribers: rbar, johnrusso, simoncook, sabuasal, niosHD, kito-cheng, shiva0217, zzheng, edward-jones, mgrang, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, jfb, PkmX, jocewei, asb
Differential Revision: https://reviews.llvm.org/D51828
llvm-svn: 344309
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp')
0 files changed, 0 insertions, 0 deletions