[Lldb-commits] [lldb] [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
Tue Feb 17 05:48:32 PST 2026
================
@@ -1593,6 +1620,13 @@ DisassemblerLLVMC::DisassemblerLLVMC(const ArchSpec &arch,
features_str += "+a,+m,";
}
+ llvm::StringRef additional_features = arch.GetDisassemblyFeatures();
+ // Prepend the additional_features if it's not already in the features_str to
+ // avoid duplicates.
+ if (!additional_features.empty()) {
+ UpdateFeatureString(additional_features, features_str);
----------------
santhoshe447 wrote:
Done
https://github.com/llvm/llvm-project/pull/147990
More information about the lldb-commits
mailing list