[Lldb-commits] [lldb] [llvm] [llvm][lldb] Add check for incorrect target features (PR #180901)

Georgiy Samoylov via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 11 05:58:48 PST 2026


================
@@ -452,7 +477,9 @@ class Target {
                                          StringRef Features) const {
     if (!MCSubtargetInfoCtorFn)
       return nullptr;
-    return MCSubtargetInfoCtorFn(TheTriple, CPU, Features);
+    if (!isSignedFeatureList(Features))
----------------
sga-sc wrote:

Ok, I created a different PR https://github.com/llvm/llvm-project/pull/180943

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


More information about the lldb-commits mailing list