[Lldb-commits] [lldb] [llvm] [lldb] Add target groups for related targets (PR #229180)
satyanarayana reddy janga via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 14 18:57:46 PDT 2026
================
@@ -489,6 +492,77 @@ class CommandObjectTargetList : public CommandObjectParsed {
}
};
+#pragma mark CommandObjectTargetGroups
+
+static llvm::StringRef GetTargetGroupRoleName(TargetGroup::Role role) {
+ switch (role) {
+ case TargetGroup::Role::CPU:
+ return "CPU";
+ case TargetGroup::Role::Accelerator:
+ return "accelerator";
+ }
+ llvm_unreachable("unhandled target group role");
+}
+
+class CommandObjectTargetGroupsList : public CommandObjectParsed {
----------------
satyajanga wrote:
added that.
https://github.com/llvm/llvm-project/pull/229180
More information about the lldb-commits
mailing list