[Lldb-commits] [lldb] [RISCV-LLDB] RISCV feature attribute support and allows overriding additional(default) feature (PR #147990)
Santhosh Kumar Ellendula via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 18 04:11:29 PDT 2025
================
@@ -1436,6 +1436,37 @@ bool DisassemblerLLVMC::MCDisasmInstance::IsAuthenticated(
return InstrDesc.isAuthenticated() || IsBrkC47x;
}
+void DisassemblerLLVMC::UpdateFeatureString(llvm::StringRef additional_features,
+ std::string &features) {
+ // Allow users to override default additional features.
+ size_t start = 0, end;
+ while (!additional_features.empty() && start < additional_features.size()) {
----------------
santhoshe447 wrote:
Thanks for the suggestion, I have updated the loop.
https://github.com/llvm/llvm-project/pull/147990
More information about the lldb-commits
mailing list