From f7feb2ad47fe0976a9148d8ca35f8a8f9dcb5fa9 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Thu, 26 Mar 2026 16:57:08 +0000 Subject: [PATCH] [cross-project-tests] XFAIL llgdb-tests/sret.cpp on Darwin I un-XFAILed this because it was passing on AArch64 Linux. But turns out on the Darwin bots this is failing. Hence XFAIL on Darwin (there's only 64-bit bots out there for Darwin). ``` ******************** TEST 'cross-project-tests :: debuginfo-tests/llgdb-tests/sret.cpp' FAILED ******************** Exit Code: 1 Command Output (stdout): -- Running debugger Running FileCheck Debugger output was: imported lldb from: "/Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Resources/Python" > break 63 SBBreakpoint: id = 1, file = '/Users/buildbot/buildbot-root/llvm-project/cross-project-tests/debuginfo-tests/llgdb-tests/sret.cpp', line = 63, exact_match = 0, locations = 1 > r success > p a (A) $0 = (m_int = 1876949584) > quit -- Command Output (stderr): -- /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang --driver-mode=g++ --target=arm64-apple-darwin23.6.0 -O0 -g /Users/buildbot/buildbot-root/llvm-project/cross-project-tests/debuginfo-tests/llgdb-tests/sret.cpp -c -o /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/projects/cross-project-tests/debuginfo-tests/llgdb-tests/Output/sret.cpp.tmp.o # RUN: at line 3 + /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang --driver-mode=g++ --target=arm64-apple-darwin23.6.0 -O0 -g /Users/buildbot/buildbot-root/llvm-project/cross-project-tests/debuginfo-tests/llgdb-tests/sret.cpp -c -o /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/projects/cross-project-tests/debuginfo-tests/llgdb-tests/Output/sret.cpp.tmp.o /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang --driver-mode=g++ --target=arm64-apple-darwin23.6.0 /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/projects/cross-project-tests/debuginfo-tests/llgdb-tests/Output/sret.cpp.tmp.o -o /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/projects/cross-project-tests/debuginfo-tests/llgdb-tests/Output/sret.cpp.tmp.out # RUN: at line 4 + /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang --driver-mode=g++ --target=arm64-apple-darwin23.6.0 /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/projects/cross-project-tests/debuginfo-tests/llgdb-tests/Output/sret.cpp.tmp.o -o /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/projects/cross-project-tests/debuginfo-tests/llgdb-tests/Output/sret.cpp.tmp.out PYTHON_EXEC_PATH=/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9 LLDB_PYTHON_PATH=/Users/buildbot/buildbot-root/aarch64-darwin/build/./lib/python3.9/site-packages /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cross-project-tests/debuginfo-tests/llgdb-tests/test_debuginfo.pl /Users/buildbot/buildbot-root/llvm-project/cross-project-tests/debuginfo-tests/llgdb-tests/sret.cpp /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/projects/cross-project-tests/debuginfo-tests/llgdb-tests/Output/sret.cpp.tmp.out # RUN: at line 5 + PYTHON_EXEC_PATH=/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9 + LLDB_PYTHON_PATH=/Users/buildbot/buildbot-root/aarch64-darwin/build/./lib/python3.9/site-packages + /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cross-project-tests/debuginfo-tests/llgdb-tests/test_debuginfo.pl /Users/buildbot/buildbot-root/llvm-project/cross-project-tests/debuginfo-tests/llgdb-tests/sret.cpp /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/projects/cross-project-tests/debuginfo-tests/llgdb-tests/Output/sret.cpp.tmp.out [1m/Users/buildbot/buildbot-root/llvm-project/cross-project-tests/debuginfo-tests/llgdb-tests/sret.cpp:13:11: [0m [0;1;31merror: [0m [1mCHECK: expected string not found in input [0m// CHECK: {{(_vptr\$A =)?.*}}m_int = 12 [0;1;32m ^ [0m [1m/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/projects/cross-project-tests/debuginfo-tests/llgdb-tests/Output/sret.cpp.gdb.output:7:9: [0m [0;1;30mnote: [0m [1mscanning from here [0m(A) $0 = (m_int = 1876949584) [0;1;32m ^ [0m [1m/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/projects/cross-project-tests/debuginfo-tests/llgdb-tests/Output/sret.cpp.gdb.output:7:10: [0m [0;1;30mnote: [0m [1mpossible intended match here [0m(A) $0 = (m_int = 1876949584) [0;1;32m ^ [0m Input file: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/projects/cross-project-tests/debuginfo-tests/llgdb-tests/Output/sret.cpp.gdb.output Check file: /Users/buildbot/buildbot-root/llvm-project/cross-project-tests/debuginfo-tests/llgdb-tests/sret.cpp -dump-input=help explains the following input dump. Input was: <<<<<< [1m [0m [0;1;30m 1: [0m [1m [0;1;46mimported lldb from: "/Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Resources/Python" [0m [0;1;30m 2: [0m [1m [0;1;46m> break 63 [0m [0;1;30m 3: [0m [1m [0;1;46mSBBreakpoint: id = 1, file = '/Users/buildbot/buildbot-root/llvm-project/cross-project-tests/debuginfo-tests/llgdb-tests/sret.cpp', line = 63, exact_match = 0, locations = 1 [0m [0;1;30m 4: [0m [1m [0;1;46m> r [0m [0;1;30m 5: [0m [1m [0;1;46msuccess [0m ``` --- cross-project-tests/debuginfo-tests/llgdb-tests/sret.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cross-project-tests/debuginfo-tests/llgdb-tests/sret.cpp b/cross-project-tests/debuginfo-tests/llgdb-tests/sret.cpp index e0fd0072b31f..7e5561e1151d 100644 --- a/cross-project-tests/debuginfo-tests/llgdb-tests/sret.cpp +++ b/cross-project-tests/debuginfo-tests/llgdb-tests/sret.cpp @@ -1,4 +1,5 @@ // REQUIRES: system-darwin || has-gdb +// XFAIL: system-darwin // // RUN: %clangxx %target_itanium_abi_host_triple -O0 -g %s -c -o %t.o // RUN: %clangxx %target_itanium_abi_host_triple %t.o -o %t.out