[Lldb-commits] [lldb] [lldb] Fixed the @skipUnlessAArch64MTELinuxCompiler decorator in case of Windows host (PR #115337)

Dmitry Vasilyev via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 8 02:56:46 PST 2024


================
@@ -1010,12 +1024,21 @@ def is_toolchain_with_mte():
             int main() {
                 void* ptr = __arm_mte_create_random_tag((void*)(0), 0);
             }"""
-        cmd = "echo '%s' | %s -march=armv8.5-a+memtag -x c -o %s -" % (
-            test_src,
-            compiler_path,
-            f.name,
+        with open(f_src.name, "w") as f:
+            f.write(test_src)
----------------
slydiman wrote:

Updated. Thanks.

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


More information about the lldb-commits mailing list