summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-05-07 11:48:53 -0700
committerCraig Topper <craig.topper@sifive.com>2024-05-07 12:16:55 -0700
commit6cba93f25dc2014b5d8c71c739f17be1d8c3763a (patch)
treee2cefbff09358ad9418106791d15adab592c4349 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent62bed56efdde1bed5dcebec5ceb375ffce223691 (diff)
[RISCV] Add partial validation of S and X extension names to RISCVISAInfo::parseNormalizedArchString.
Extensions starting with 's' or 'x' should always be followed by an alphabetical character. I don't know of any crashes from this currently, but it seemed better to be defensive.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions