aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorAlex Bradbury <asb@igalia.com>2023-03-26 15:50:13 +0100
committerAlex Bradbury <asb@igalia.com>2023-03-26 15:51:38 +0100
commitaf602edf0ecb4e1d7de4ccce8ebe1be8bb53443d (patch)
treee084ae10a22396ef1ce6ac424f338922ddc25a81 /llvm/lib/Object/ELFObjectFile.cpp
parentf5b6e9b6d355866c2aa4e440438b870885ec0373 (diff)
downloadllvm-af602edf0ecb4e1d7de4ccce8ebe1be8bb53443d.zip
llvm-af602edf0ecb4e1d7de4ccce8ebe1be8bb53443d.tar.gz
llvm-af602edf0ecb4e1d7de4ccce8ebe1be8bb53443d.tar.bz2
[RISCV] Make RISCVISAInfo::toFeatureVector ignore unsupported extensions
parseNormalizedArchString adds a code path that creates a RISCVISAInfo including extensions that may not be supported by LLVM (rather than erroring or just ignoring them). Therefore, toFeatureVector needs to check the extension is supported in order to avoid creating unrecognised feature strings. This change shouldn't impact any code paths used outside of test code, but this will be relied upon by the next patch which moves llvm-objdump and related tools over to using parseNormalizedArchString. Differential Revision: https://reviews.llvm.org/D146113
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions