================
@@ -97,6 +101,9 @@ def finalize_build_dictionary(dictionary):
             dictionary = {}
         dictionary["OS"] = "Android"
         dictionary["PIE"] = 1
+    elif target_is_remote_linux():
+        dictionary = dictionary or {}
----------------
bulbazord wrote:

Suggestion: Pull the dictionary checking-logic out of these blocks and put it 
at the top of the function:
```
def finalize_build_dictionary(dictionary):
    if dictionary is None:
        dictionary = {}
    if target_is_android():
    # ...
````

https://github.com/llvm/llvm-project/pull/96654
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to