INFO:2024-04-16T12:23:11Z:root:pulling... From https://github.com/llvm/llvm-project * branch main -> FETCH_HEAD d4602a96b48b..c309dc6d0759 main -> origin/main Switched to branch 'main' Your branch is behind 'origin/main' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) HEAD is now at c309dc6d0759 [Clang][Sema] placement new initializes typedef array with correct size (#83124) INFO:2024-04-16T12:23:16Z:root:syncing... Deleted branch merge (was d4602a96b48b). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. INFO:2024-04-16T12:23:16Z:root:building ninja: Entering directory `out/gn' [1/129] CXX obj/clang/lib/Sema/Sema.SemaConcept.o [2/129] CXX obj/clang/lib/Sema/Sema.SemaTemplateInstantiate.o [3/129] CXX obj/clang/lib/Sema/Sema.SemaTemplateInstantiateDecl.o [4/129] CXX obj/clang/lib/Sema/Sema.SemaTemplateDeduction.o [5/129] CXX obj/clang/lib/Sema/Sema.SemaExprCXX.o [6/129] CXX obj/clang/lib/Sema/Sema.SemaOpenMP.o [7/129] CXX obj/clang/lib/Sema/Sema.SemaTemplate.o [8/129] CXX obj/clang/lib/Sema/Sema.SemaExpr.o [9/129] AR lib/libclangSema.a [10/129] LINK obj/clang-tools-extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [11/129] LINK ./bin/pp-trace [12/129] LINK ./bin/modularize [13/129] LINK obj/clang-tools-extra/unittests/clang-move/ClangMoveTests [14/129] LINK obj/clang-tools-extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [15/129] LINK obj/clang-tools-extra/unittests/clang-doc/ClangDocTests [16/129] LINK obj/clang-tools-extra/unittests/clang-include-fixer/ClangIncludeFixerTests [17/129] LINK obj/clang-tools-extra/clangd/unittests/xpc/ClangdXpcTests [18/129] LINK obj/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [19/129] LINK obj/clang-tools-extra/unittests/clang-query/ClangQueryTests [20/129] LINK ./bin/dexp [21/129] LINK ./bin/clang-apply-replacements [22/129] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [23/129] LINK ./bin/lldb-server [24/129] STAMP obj/clang-tools-extra/unittests/unittests.stamp [25/129] LINK ./bin/clang-change-namespace [26/129] LINK ./bin/clangd-indexer [27/129] LINK ./bin/clangd [28/129] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangxpc_bundle_xpc_service_executable.stamp [29/129] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangd.xpc.inputdeps.stamp [30/129] COPY_BUNDLE_DATA bin/clangd gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc/Contents/MacOS/clangd [31/129] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangd.xpc.stamp [32/129] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangdxpc_bundle_xpc.stamp [33/129] STAMP obj/clang-tools-extra/clangd/xpc/framework/ClangdXPC.framework.inputdeps.stamp [34/129] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [35/129] COPY_BUNDLE_DATA gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc lib/ClangdXPC.framework/Versions/A/XPCServices/clangd.xpc [36/129] STAMP obj/clang-tools-extra/clangd/xpc/framework/ClangdXPC.framework.stamp [37/129] LINK ./bin/clang-tidy [38/129] LINK ./bin/clangd-xpc-test-client [39/129] STAMP obj/clang-tools-extra/clangd/test/test.stamp [40/129] LINK ./bin/clang-doc [41/129] LINK ./bin/clang-include-fixer [42/129] LINK ./bin/find-all-symbols [43/129] LINK ./bin/lldb-dap [44/129] LINK obj/clang/unittests/Format/FormatTests [45/129] LINK ./bin/clang-move [46/129] LINK ./bin/clang-query [47/129] LINK ./bin/lldb [48/129] LINK ./bin/clang-reorder-fields [49/129] LINK ./bin/lldb-test [50/129] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [51/129] LINK obj/clang/unittests/Index/IndexTests [52/129] LINK obj/clang/unittests/CrossTU/CrossTUTests [53/129] LINK obj/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [54/129] LINK obj/clang/unittests/Introspection/IntrospectionTests [55/129] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [56/129] LINK obj/clang/unittests/Tooling/ToolingTests [57/129] LINK obj/clang/unittests/Frontend/FrontendTests [58/129] LINK ./bin/diagtool [59/129] LINK obj/clang/unittests/Driver/ClangDriverTests [60/129] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [61/129] LINK obj/clang/unittests/AST/Interp/InterpTests [62/129] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [63/129] LINK obj/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [64/129] LINK obj/clang/unittests/ASTMatchers/ASTMatchersTests [65/129] LINK obj/clang/unittests/Analysis/ClangAnalysisTests [66/129] LINK obj/clang/unittests/AST/ASTTests [67/129] LINK ./bin/clang-refactor [68/129] LINK ./bin/clang-rename [69/129] LINK obj/clang/unittests/Lex/LexTests [70/129] LINK obj/clang/unittests/Rewrite/RewriteTests [71/129] LINK ./bin/clang [72/129] LINK obj/clang/unittests/Sema/SemaTests [73/129] LINK obj/clang/unittests/Rename/ClangRenameTests [74/129] LINK obj/clang/unittests/Serialization/SerializationTests [75/129] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [76/129] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [77/129] SOLINK ./lib/libclang.dylib [78/129] STAMP obj/clang/tools/driver/clang-cpp.stamp [79/129] STAMP obj/clang/tools/driver/clang-cl.stamp [80/129] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [81/129] STAMP obj/clang/tools/driver/clangxx.stamp [82/129] STAMP obj/clang/tools/driver/symlinks.stamp [83/129] STAMP obj/lldb/test/test.stamp [84/129] STAMP obj/clang.stamp [85/129] STAMP obj/bolt/test/test.stamp [86/129] LINK ./bin/c-arcmt-test [87/129] LINK obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests [88/129] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [89/129] LINK obj/clang/unittests/libclang/libclangTests [90/129] LINK obj/clang/unittests/Support/ClangSupportTests [91/129] STAMP obj/clang/unittests/unittests.stamp [92/129] STAMP stage2_unix/obj/compiler-rt/lib/asan/asan_shared_library.inputdeps.stamp [93/129] STAMP stage2_unix/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [94/129] STAMP stage2_iossim_x64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [95/129] STAMP stage2_ios_aarch64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [96/129] STAMP stage2_baremetal_aarch64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [97/129] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/sources.inputdeps.stamp [98/129] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/standalone_sources.inputdeps.stamp [99/129] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [100/128] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [101/125] LINK ./bin/arcmt-test [102/125] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [103/122] STAMP stage2_unix/obj/libunwind/src/unwind_static.inputdeps.stamp [104/122] STAMP stage2_unix/obj/libunwind/src/unwind_shared.inputdeps.stamp [105/122] STAMP stage2_unix/obj/compiler-rt/lib/lsan/common_sources.inputdeps.stamp [106/122] STAMP stage2_unix/obj/libunwind/src/unwind_static_exported.inputdeps.stamp [107/122] STAMP stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.inputdeps.stamp [108/122] STAMP stage2_unix/obj/compiler-rt/lib/profile/profile.inputdeps.stamp [109/122] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/cxx_sources.inputdeps.stamp [110/122] STAMP stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.inputdeps.stamp [111/122] STAMP stage2_unix/obj/compiler-rt/lib/interception/sources.inputdeps.stamp [112/122] LINK ./bin/clang-diff [113/122] LINK ./bin/clang-extdef-mapping [114/122] LINK ./bin/clang-scan-deps [115/122] LINK ./bin/clang-repl [116/122] LINK ./bin/clang-installapi [117/122] LINK ./bin/clang-import-test [118/122] LINK ./bin/c-index-test [119/122] STAMP obj/clang-tools-extra/test/test.stamp [120/122] LINK ./bin/clang-check [121/122] STAMP obj/clang/test/test.stamp [122/122] STAMP obj/default.stamp INFO:2024-04-16T12:23:53Z:root:analyze skipping analyze because previous build was not green INFO:2024-04-16T12:23:53Z:root:testing INFO:2024-04-16T12:23:53Z:root:test check-clang ninja: Entering directory `out/gn' [0/2] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:502: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/util.py:473: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk' llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:502: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:502: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:502: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:502: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 19174 tests, 8 workers -- Testing: FAIL: Clang :: Driver/windows-seh-async-verify.cpp (1 of 19174) ******************** TEST 'Clang :: Driver/windows-seh-async-verify.cpp' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /Users/thakis/src/llvm-project/out/gn/bin/clang --target=x86_64-pc-windows -fasync-exceptions -fsyntax-only /Users/thakis/src/llvm-project/clang/test/Driver/windows-seh-async-verify.cpp -### 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Driver/windows-seh-async-verify.cpp + /Users/thakis/src/llvm-project/out/gn/bin/clang --target=x86_64-pc-windows -fasync-exceptions -fsyntax-only /Users/thakis/src/llvm-project/clang/test/Driver/windows-seh-async-verify.cpp -### + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Driver/windows-seh-async-verify.cpp RUN: at line 2: /Users/thakis/src/llvm-project/out/gn/bin/clang --driver-mode=cl --target=x86_64-pc-windows /EHa -fsyntax-only /Users/thakis/src/llvm-project/clang/test/Driver/windows-seh-async-verify.cpp -### 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Driver/windows-seh-async-verify.cpp + /Users/thakis/src/llvm-project/out/gn/bin/clang --driver-mode=cl --target=x86_64-pc-windows /EHa -fsyntax-only /Users/thakis/src/llvm-project/clang/test/Driver/windows-seh-async-verify.cpp -### + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Driver/windows-seh-async-verify.cpp /Users/thakis/src/llvm-project/clang/test/Driver/windows-seh-async-verify.cpp:10:11: error: CHECK: expected string not found in input // CHECK: -fasync-exceptions ^ :1:1: note: scanning from here clang version 19.0.0 ^ :5:15: note: possible intended match here Build config: +assertions ^ Input file: Check file: /Users/thakis/src/llvm-project/clang/test/Driver/windows-seh-async-verify.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: clang version 19.0.0 check:10'0 X~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Target: x86_64-pc-windows-msvc check:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: Thread model: posix check:10'0 ~~~~~~~~~~~~~~~~~~~~ 4: InstalledDir: /Users/thakis/src/llvm-project/out/gn/bin check:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: Build config: +assertions check:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ check:10'1 ? possible intended match 6: clang: warning: '/Users/thakis/src/llvm-project/clang/test/Driver/windows-seh-async-verify.cpp' treated as the '/U' option [-Wslash-u-filename] check:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: clang: note: use '--' to treat subsequent arguments as filenames check:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: clang: warning: argument unused during compilation: '/EHa' [-Wunused-command-line-argument] check:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: clang: warning: argument unused during compilation: '/U sers/thakis/src/llvm-project/clang/test/Driver/windows-seh-async-verify.cpp' [-Wunused-command-line-argument] check:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang :: SemaCXX/instantiate-new-placement-size.cpp (19174 of 19174) ******************** TEST 'Clang :: SemaCXX/instantiate-new-placement-size.cpp' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /Users/thakis/src/llvm-project/out/gn/bin/clang -S -fno-discard-value-names -emit-llvm -o - /Users/thakis/src/llvm-project/clang/test/SemaCXX/instantiate-new-placement-size.cpp | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/SemaCXX/instantiate-new-placement-size.cpp + /Users/thakis/src/llvm-project/out/gn/bin/clang -S -fno-discard-value-names -emit-llvm -o - /Users/thakis/src/llvm-project/clang/test/SemaCXX/instantiate-new-placement-size.cpp + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/SemaCXX/instantiate-new-placement-size.cpp /Users/thakis/src/llvm-project/clang/test/SemaCXX/instantiate-new-placement-size.cpp:6:11: error: CHECK: expected string not found in input // CHECK: call void @llvm.memset.p0.i64(ptr align 16 %x, i8 0, i64 32, i1 false) ^ :18:70: note: scanning from here call void @llvm.memset.p0.i64(ptr align 1 %x, i8 0, i64 8, i1 false) ^ :26:2: note: possible intended match here call void @llvm.memset.p0.i64(ptr align 4 %x, i8 0, i64 32, i1 false) ^ Input file: Check file: /Users/thakis/src/llvm-project/clang/test/SemaCXX/instantiate-new-placement-size.cpp -dump-input=help explains the following input dump. Input was: <<<<<< . . . 13: 14: ; Function Attrs: mustprogress noinline nounwind optnone ssp uwtable(sync) 15: define linkonce_odr void @_Z1fIcEvv() #1 { 16: entry: 17: %x = alloca [8 x i8], align 1 18: call void @llvm.memset.p0.i64(ptr align 1 %x, i8 0, i64 8, i1 false) check:6'0 X error: no match found 19: ret void check:6'0 ~~~~~~~~~~ 20: } check:6'0 ~~ 21: check:6'0 ~ 22: ; Function Attrs: mustprogress noinline nounwind optnone ssp uwtable(sync) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23: define linkonce_odr void @_Z1fIiEvv() #1 { check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24: entry: check:6'0 ~~~~~~~ 25: %x = alloca [8 x i32], align 4 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26: call void @llvm.memset.p0.i64(ptr align 4 %x, i8 0, i64 32, i1 false) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:6'1 ? possible intended match 27: ret void check:6'0 ~~~~~~~~~~ 28: } check:6'0 ~~ 29: check:6'0 ~ 30: ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31: declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (2): Clang :: Driver/windows-seh-async-verify.cpp Clang :: SemaCXX/instantiate-new-placement-size.cpp Testing Time: 410.49s Total Discovered Tests: 37072 Skipped : 35 (0.09%) Unsupported : 101 (0.27%) Passed : 36901 (99.54%) Expectedly Failed: 33 (0.09%) Failed : 2 (0.01%) FAILED: gen/clang/test/run-lit python3 bin/llvm-lit -sv ../../clang/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-clang']' returned non-zero exit status 1.