[llvm-branch-commits] [lldb] [lldb] Make RegisterFlagsDetector into RegisterTypesDetector (PR #213892)

David Spickett via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Aug 6 03:07:55 PDT 2026


================
@@ -161,16 +163,19 @@ Arm64RegisterFlagsDetector::DetectMTECtrlFields(uint64_t hwcap, uint64_t hwcap2,
        {"TCF", 1, 2, &tcf_enum},
        {"TAGGED_ADDR_ENABLE", 0}});
 
-  return fields;
----------------
DavidSpickett wrote:

You're right, before I used static for some constant sets of fields, but I gave out copies of those fields.

unique_ptr, yes I think that's what I'll do.

I will try inserting that as another PR in this stack.

https://github.com/llvm/llvm-project/pull/213892


More information about the llvm-branch-commits mailing list