================
@@ -452,7 +477,9 @@ class Target {
StringRef Features) const {
if (!MCSubtargetInfoCtorFn)
return nullptr;
- return MCSubtargetInfoCtorFn(TheTriple, CPU, Features);
+ if (!isSignedFeatureList(Features))
+ return nullptr;
+ return MCSubtargetInfoCtorFn(Triple(TheTriple), CPU, Features);
----------------
DavidSpickett wrote:
Why the extra cast? TheTriple is already a Triple&.
https://github.com/llvm/llvm-project/pull/180901
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits