[Lldb-commits] [lldb] [RISCV-LLDB] RISCV feature attribute support and allows overriding additional(default) feature (PR #147990)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 8 06:18:12 PDT 2025
================
@@ -617,6 +617,13 @@ void ArchSpec::SetFlags(const std::string &elf_abi) {
SetFlags(flag);
}
+void ArchSpec::SetDisassemblyFeatures(std::string additional_features) {
----------------
DavidSpickett wrote:
This name is misleading. Set implies overwrite.
`AddDisassemblyFeatures` allows you to be vague about how it's added.
Also, do you ever call this with more than one feature? I don't think so and if so, make all this singular so that's clear.
https://github.com/llvm/llvm-project/pull/147990
More information about the lldb-commits
mailing list