github-actions[bot] wrote: <!--PREMERGE ADVISOR COMMENT: Linux--> # :penguin: Linux x64 Test Results
* 139165 tests passed * 2617 tests skipped All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details. <details> <summary>compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors_memintrinsics.cpp.o</summary> ``` FAILED: compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors_memintrinsics.cpp.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DASAN_DYNAMIC=1 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/.. -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -Wall -Werror -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -fno-rtti -Wno-format -ftls-model=initial-exec -MD -MT compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors_memintrinsics.cpp.o -MF compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors_memintrinsics.cpp.o.d -o compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors_memintrinsics.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cpp clang++: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:262: void (anonymous namespace)::AllocaInfo::AnalyzeAlloca(AllocaInst *): Assertion `ValueType == LI->getType() && "All loads where checked to have used the same type"' failed. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DASAN_DYNAMIC=1 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/.. -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -Wall -Werror -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -fno-rtti -Wno-format -ftls-model=initial-exec -MD -MT compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors_memintrinsics.cpp.o -MF compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors_memintrinsics.cpp.o.d -o compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors_memintrinsics.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cpp 1. <eof> parser at end of file 2. Optimizer 3. Running pass "function<eager-inv>(mem2reg,instcombine<max-iterations=1;no-verify-fixpoint>,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-arithmetic;no-switch-to-lookup;keep-loops;no-hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>)" on module "/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cpp" 4. Running pass "mem2reg" on function "___interceptor_memset" #0 0x0000000009302b68 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13 #1 0x00000000092ffad1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 #2 0x000000000930175c llvm::sys::CleanupOnSignal(unsigned long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3 #3 0x000000000925f5d6 HandleCrash /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:73:5 #4 0x000000000925f5d6 CrashRecoverySignalHandler(int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:393:51 #5 0x000077fc02444330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330) #6 0x000077fc0249db2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c) #7 0x000077fc0244427e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e) #8 0x000077fc024278ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff) #9 0x000077fc0242781b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b) #10 0x000077fc0243a517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517) #11 0x0000000009437ea4 dyn_cast<llvm::LoadInst, llvm::User> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:656:3 #12 0x0000000009437ea4 promoteSingleBlockAlloca /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:724:20 #13 0x0000000009437ea4 (anonymous namespace)::PromoteMem2Reg::run() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:845:9 #14 0x0000000009432fb3 isSmall /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:148:39 #15 0x0000000009432fb3 ~SmallVectorImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:609:16 #16 0x0000000009432fb3 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1230:3 #17 0x0000000009432fb3 ~PromoteMem2Reg /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:375:8 #18 0x0000000009432fb3 llvm::PromoteMemToReg(llvm::ArrayRef<llvm::AllocaInst*>, llvm::DominatorTree&, llvm::AssumptionCache*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:1265:3 #19 0x000000000942e2c1 fetch_add /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/atomic_base.h:635:16 #20 0x000000000942e2c1 operator+= /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/Statistic.h:101:11 #21 0x000000000942e2c1 promoteMemoryToRegister(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/Mem2Reg.cpp:55:17 #22 0x000000000942dfe0 llvm::PromotePass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/Mem2Reg.cpp:64:7 #23 0x0000000008cbbdf7 llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/PassManagerImpl.h:80:8 #24 0x0000000008cbfd08 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/PassManager.cpp:132:23 #25 0x0000000008cbaec7 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/PassManagerImpl.h:80:8 #26 0x0000000009c45506 ~SmallPtrSetImplBase /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallPtrSet.h:89:9 #27 0x0000000009c45506 ~PreservedAnalyses /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Analysis.h:112:7 #28 0x0000000009c45506 (anonymous namespace)::EmitAssemblyHelper::RunOptimizationPipeline(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>&, std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile>>&, clang::BackendConsumer*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1209:5 #29 0x0000000009c3a88c emitAssembly /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1291:23 #30 0x0000000009c3a88c clang::emitBackendOutput(clang::CompilerInstance&, clang::CodeGenOptions&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1477:13 #31 0x0000000009c51524 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6 #32 0x0000000009c51524 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:312:3 #33 0x000000000b937db9 __normal_iterator /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1077:20 #34 0x000000000b937db9 begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:874:16 #35 0x000000000b937db9 finalize<std::vector<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> >, std::allocator<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> > > > > /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/TemplateInstCallback.h:54:16 #36 0x000000000b937db9 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:190:3 #37 0x000000000a1bd8d6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10 #38 0x000000000a11d71d getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42 #39 0x000000000a11d71d operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16 #40 0x000000000a11d71d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:990:23 #41 0x000000000a2b5cf8 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16 #42 0x000000000a2b5cf8 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66 #43 0x000000000a2b5cf8 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9 #44 0x000000000a2b5cf8 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:310:12 #45 0x000000000a2b5cf8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14 #46 0x0000000006485115 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:302:15 #47 0x0000000006480ef5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:229:12 #48 0x00000000064834ad operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:0:12 #49 0x00000000064834ad int llvm::function_ref<int (llvm::SmallVectorImpl<char const*>&)>::callback_fn<clang_main(int, char**, llvm::ToolContext const&)::$_0>(long, llvm::SmallVectorImpl<char const*>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12 #50 0x0000000009f65489 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:30 #51 0x0000000009f65489 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::$_0>(long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12 #52 0x000000000925f2ee operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12 #53 0x000000000925f2ee llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:437:3 #54 0x0000000009f64b4c clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:7 #55 0x0000000009f21d9c clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Compilation.cpp:196:15 #56 0x0000000009f21fb7 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Compilation.cpp:246:13 #57 0x0000000009f3f178 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:86:46 #58 0x0000000009f3f178 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Driver.cpp:2328:23 #59 0x00000000064806e9 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:419:21 #60 0x000000000649145d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10 #61 0x000077fc024291ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca) #62 0x000077fc0242928b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b) #63 0x000000000647e865 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang+++0x647e865) clang++: error: clang frontend command failed due to signal (use -v to see invocation) clang version 23.0.0git (https://github.com/llvm/llvm-project 74ff8ad875733101d104b4a017cf97d121877042) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin Build config: +assertions clang++: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang++: note: diagnostic msg: /home/gha/actions-runner/_work/llvm-project/llvm-project/artifacts/reproducers/asan_interceptors_memintrinsics-bea1d4.cpp clang++: note: diagnostic msg: /home/gha/actions-runner/_work/llvm-project/llvm-project/artifacts/reproducers/asan_interceptors_memintrinsics-bea1d4.sh clang++: note: diagnostic msg: ******************** Aborted ``` </details> <details> <summary>compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors_memintrinsics.cpp.o</summary> ``` FAILED: compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors_memintrinsics.cpp.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/.. -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -Wall -Werror -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -fno-rtti -Wno-format -MD -MT compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors_memintrinsics.cpp.o -MF compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors_memintrinsics.cpp.o.d -o compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors_memintrinsics.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cpp clang++: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:262: void (anonymous namespace)::AllocaInfo::AnalyzeAlloca(AllocaInst *): Assertion `ValueType == LI->getType() && "All loads where checked to have used the same type"' failed. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/.. -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -Wall -Werror -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -fno-rtti -Wno-format -MD -MT compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors_memintrinsics.cpp.o -MF compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors_memintrinsics.cpp.o.d -o compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors_memintrinsics.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cpp 1. <eof> parser at end of file 2. Optimizer 3. Running pass "function<eager-inv>(mem2reg,instcombine<max-iterations=1;no-verify-fixpoint>,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-arithmetic;no-switch-to-lookup;keep-loops;no-hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>)" on module "/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cpp" 4. Running pass "mem2reg" on function "___interceptor_memset" #0 0x0000000009302b68 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13 #1 0x00000000092ffad1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 #2 0x000000000930175c llvm::sys::CleanupOnSignal(unsigned long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3 #3 0x000000000925f5d6 HandleCrash /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:73:5 #4 0x000000000925f5d6 CrashRecoverySignalHandler(int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:393:51 #5 0x00007b15e30a6330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330) #6 0x00007b15e30ffb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c) #7 0x00007b15e30a627e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e) #8 0x00007b15e30898ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff) #9 0x00007b15e308981b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b) #10 0x00007b15e309c517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517) #11 0x0000000009437ea4 dyn_cast<llvm::LoadInst, llvm::User> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:656:3 #12 0x0000000009437ea4 promoteSingleBlockAlloca /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:724:20 #13 0x0000000009437ea4 (anonymous namespace)::PromoteMem2Reg::run() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:845:9 #14 0x0000000009432fb3 isSmall /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:148:39 #15 0x0000000009432fb3 ~SmallVectorImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:609:16 #16 0x0000000009432fb3 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1230:3 #17 0x0000000009432fb3 ~PromoteMem2Reg /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:375:8 #18 0x0000000009432fb3 llvm::PromoteMemToReg(llvm::ArrayRef<llvm::AllocaInst*>, llvm::DominatorTree&, llvm::AssumptionCache*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:1265:3 #19 0x000000000942e2c1 fetch_add /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/atomic_base.h:635:16 #20 0x000000000942e2c1 operator+= /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/Statistic.h:101:11 #21 0x000000000942e2c1 promoteMemoryToRegister(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/Mem2Reg.cpp:55:17 #22 0x000000000942dfe0 llvm::PromotePass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/Mem2Reg.cpp:64:7 #23 0x0000000008cbbdf7 llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/PassManagerImpl.h:80:8 #24 0x0000000008cbfd08 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/PassManager.cpp:132:23 #25 0x0000000008cbaec7 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/PassManagerImpl.h:80:8 #26 0x0000000009c45506 ~SmallPtrSetImplBase /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallPtrSet.h:89:9 #27 0x0000000009c45506 ~PreservedAnalyses /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Analysis.h:112:7 #28 0x0000000009c45506 (anonymous namespace)::EmitAssemblyHelper::RunOptimizationPipeline(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>&, std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile>>&, clang::BackendConsumer*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1209:5 #29 0x0000000009c3a88c emitAssembly /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1291:23 #30 0x0000000009c3a88c clang::emitBackendOutput(clang::CompilerInstance&, clang::CodeGenOptions&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1477:13 #31 0x0000000009c51524 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6 #32 0x0000000009c51524 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:312:3 #33 0x000000000b937db9 __normal_iterator /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1077:20 #34 0x000000000b937db9 begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:874:16 #35 0x000000000b937db9 finalize<std::vector<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> >, std::allocator<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> > > > > /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/TemplateInstCallback.h:54:16 #36 0x000000000b937db9 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:190:3 #37 0x000000000a1bd8d6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10 #38 0x000000000a11d71d getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42 #39 0x000000000a11d71d operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16 #40 0x000000000a11d71d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:990:23 #41 0x000000000a2b5cf8 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16 #42 0x000000000a2b5cf8 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66 #43 0x000000000a2b5cf8 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9 #44 0x000000000a2b5cf8 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:310:12 #45 0x000000000a2b5cf8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14 #46 0x0000000006485115 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:302:15 #47 0x0000000006480ef5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:229:12 #48 0x00000000064834ad operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:0:12 #49 0x00000000064834ad int llvm::function_ref<int (llvm::SmallVectorImpl<char const*>&)>::callback_fn<clang_main(int, char**, llvm::ToolContext const&)::$_0>(long, llvm::SmallVectorImpl<char const*>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12 #50 0x0000000009f65489 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:30 #51 0x0000000009f65489 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::$_0>(long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12 #52 0x000000000925f2ee operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12 #53 0x000000000925f2ee llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:437:3 #54 0x0000000009f64b4c clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:7 #55 0x0000000009f21d9c clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Compilation.cpp:196:15 #56 0x0000000009f21fb7 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Compilation.cpp:246:13 #57 0x0000000009f3f178 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:86:46 #58 0x0000000009f3f178 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Driver.cpp:2328:23 #59 0x00000000064806e9 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:419:21 #60 0x000000000649145d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10 #61 0x00007b15e308b1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca) #62 0x00007b15e308b28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b) #63 0x000000000647e865 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang+++0x647e865) clang++: error: clang frontend command failed due to signal (use -v to see invocation) clang version 23.0.0git (https://github.com/llvm/llvm-project 74ff8ad875733101d104b4a017cf97d121877042) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin Build config: +assertions clang++: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang++: note: diagnostic msg: /home/gha/actions-runner/_work/llvm-project/llvm-project/artifacts/reproducers/asan_interceptors_memintrinsics-1460c8.cpp clang++: note: diagnostic msg: /home/gha/actions-runner/_work/llvm-project/llvm-project/artifacts/reproducers/asan_interceptors_memintrinsics-1460c8.sh clang++: note: diagnostic msg: ******************** Aborted ``` </details> <details> <summary>compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors.cpp.o</summary> ``` FAILED: compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors.cpp.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DASAN_DYNAMIC=1 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/.. -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -Wall -Werror -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -fno-rtti -Wno-format -ftls-model=initial-exec -MD -MT compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors.cpp.o -MF compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors.cpp.o.d -o compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp clang++: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:262: void (anonymous namespace)::AllocaInfo::AnalyzeAlloca(AllocaInst *): Assertion `ValueType == LI->getType() && "All loads where checked to have used the same type"' failed. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DASAN_DYNAMIC=1 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/.. -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -Wall -Werror -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -fno-rtti -Wno-format -ftls-model=initial-exec -MD -MT compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors.cpp.o -MF compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors.cpp.o.d -o compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp 1. <eof> parser at end of file 2. Optimizer 3. Running pass "function<eager-inv>(mem2reg,instcombine<max-iterations=1;no-verify-fixpoint>,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-arithmetic;no-switch-to-lookup;keep-loops;no-hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>)" on module "/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp" 4. Running pass "mem2reg" on function "___interceptor_strlen" #0 0x0000000009302b68 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13 #1 0x00000000092ffad1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 #2 0x000000000930175c llvm::sys::CleanupOnSignal(unsigned long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3 #3 0x000000000925f5d6 HandleCrash /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:73:5 #4 0x000000000925f5d6 CrashRecoverySignalHandler(int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:393:51 #5 0x00007f5c4e5f8330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330) #6 0x00007f5c4e651b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c) #7 0x00007f5c4e5f827e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e) #8 0x00007f5c4e5db8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff) #9 0x00007f5c4e5db81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b) #10 0x00007f5c4e5ee517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517) #11 0x0000000009437ea4 dyn_cast<llvm::LoadInst, llvm::User> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:656:3 #12 0x0000000009437ea4 promoteSingleBlockAlloca /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:724:20 #13 0x0000000009437ea4 (anonymous namespace)::PromoteMem2Reg::run() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:845:9 #14 0x0000000009432fb3 isSmall /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:148:39 #15 0x0000000009432fb3 ~SmallVectorImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:609:16 #16 0x0000000009432fb3 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1230:3 #17 0x0000000009432fb3 ~PromoteMem2Reg /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:375:8 #18 0x0000000009432fb3 llvm::PromoteMemToReg(llvm::ArrayRef<llvm::AllocaInst*>, llvm::DominatorTree&, llvm::AssumptionCache*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:1265:3 #19 0x000000000942e2c1 fetch_add /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/atomic_base.h:635:16 #20 0x000000000942e2c1 operator+= /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/Statistic.h:101:11 #21 0x000000000942e2c1 promoteMemoryToRegister(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/Mem2Reg.cpp:55:17 #22 0x000000000942dfe0 llvm::PromotePass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/Mem2Reg.cpp:64:7 #23 0x0000000008cbbdf7 llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/PassManagerImpl.h:80:8 #24 0x0000000008cbfd08 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/PassManager.cpp:132:23 #25 0x0000000008cbaec7 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/PassManagerImpl.h:80:8 #26 0x0000000009c45506 ~SmallPtrSetImplBase /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallPtrSet.h:89:9 #27 0x0000000009c45506 ~PreservedAnalyses /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Analysis.h:112:7 #28 0x0000000009c45506 (anonymous namespace)::EmitAssemblyHelper::RunOptimizationPipeline(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>&, std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile>>&, clang::BackendConsumer*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1209:5 #29 0x0000000009c3a88c emitAssembly /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1291:23 #30 0x0000000009c3a88c clang::emitBackendOutput(clang::CompilerInstance&, clang::CodeGenOptions&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1477:13 #31 0x0000000009c51524 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6 #32 0x0000000009c51524 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:312:3 #33 0x000000000b937db9 __normal_iterator /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1077:20 #34 0x000000000b937db9 begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:874:16 #35 0x000000000b937db9 finalize<std::vector<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> >, std::allocator<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> > > > > /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/TemplateInstCallback.h:54:16 #36 0x000000000b937db9 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:190:3 #37 0x000000000a1bd8d6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10 #38 0x000000000a11d71d getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42 #39 0x000000000a11d71d operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16 #40 0x000000000a11d71d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:990:23 #41 0x000000000a2b5cf8 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16 #42 0x000000000a2b5cf8 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66 #43 0x000000000a2b5cf8 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9 #44 0x000000000a2b5cf8 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:310:12 #45 0x000000000a2b5cf8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14 #46 0x0000000006485115 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:302:15 #47 0x0000000006480ef5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:229:12 #48 0x00000000064834ad operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:0:12 #49 0x00000000064834ad int llvm::function_ref<int (llvm::SmallVectorImpl<char const*>&)>::callback_fn<clang_main(int, char**, llvm::ToolContext const&)::$_0>(long, llvm::SmallVectorImpl<char const*>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12 #50 0x0000000009f65489 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:30 #51 0x0000000009f65489 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::$_0>(long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12 #52 0x000000000925f2ee operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12 #53 0x000000000925f2ee llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:437:3 #54 0x0000000009f64b4c clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:7 #55 0x0000000009f21d9c clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Compilation.cpp:196:15 #56 0x0000000009f21fb7 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Compilation.cpp:246:13 #57 0x0000000009f3f178 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:86:46 #58 0x0000000009f3f178 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Driver.cpp:2328:23 #59 0x00000000064806e9 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:419:21 #60 0x000000000649145d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10 #61 0x00007f5c4e5dd1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca) #62 0x00007f5c4e5dd28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b) #63 0x000000000647e865 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang+++0x647e865) clang++: error: clang frontend command failed due to signal (use -v to see invocation) clang version 23.0.0git (https://github.com/llvm/llvm-project 74ff8ad875733101d104b4a017cf97d121877042) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin Build config: +assertions clang++: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang++: note: diagnostic msg: /home/gha/actions-runner/_work/llvm-project/llvm-project/artifacts/reproducers/asan_interceptors-39faa7.cpp clang++: note: diagnostic msg: /home/gha/actions-runner/_work/llvm-project/llvm-project/artifacts/reproducers/asan_interceptors-39faa7.sh clang++: note: diagnostic msg: ******************** Aborted ``` </details> <details> <summary>compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors.cpp.o</summary> ``` FAILED: compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors.cpp.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/.. -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -Wall -Werror -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -fno-rtti -Wno-format -MD -MT compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors.cpp.o -MF compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors.cpp.o.d -o compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp clang++: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:262: void (anonymous namespace)::AllocaInfo::AnalyzeAlloca(AllocaInst *): Assertion `ValueType == LI->getType() && "All loads where checked to have used the same type"' failed. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/.. -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -Wall -Werror -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -fno-rtti -Wno-format -MD -MT compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors.cpp.o -MF compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors.cpp.o.d -o compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp 1. <eof> parser at end of file 2. Optimizer 3. Running pass "function<eager-inv>(mem2reg,instcombine<max-iterations=1;no-verify-fixpoint>,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-arithmetic;no-switch-to-lookup;keep-loops;no-hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>)" on module "/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp" 4. Running pass "mem2reg" on function "___interceptor_strlen" #0 0x0000000009302b68 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13 #1 0x00000000092ffad1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 #2 0x000000000930175c llvm::sys::CleanupOnSignal(unsigned long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3 #3 0x000000000925f5d6 HandleCrash /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:73:5 #4 0x000000000925f5d6 CrashRecoverySignalHandler(int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:393:51 #5 0x00007e1a6352d330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330) #6 0x00007e1a63586b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c) #7 0x00007e1a6352d27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e) #8 0x00007e1a635108ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff) #9 0x00007e1a6351081b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b) #10 0x00007e1a63523517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517) #11 0x0000000009437ea4 dyn_cast<llvm::LoadInst, llvm::User> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:656:3 #12 0x0000000009437ea4 promoteSingleBlockAlloca /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:724:20 #13 0x0000000009437ea4 (anonymous namespace)::PromoteMem2Reg::run() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:845:9 #14 0x0000000009432fb3 isSmall /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:148:39 #15 0x0000000009432fb3 ~SmallVectorImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:609:16 #16 0x0000000009432fb3 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1230:3 #17 0x0000000009432fb3 ~PromoteMem2Reg /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:375:8 #18 0x0000000009432fb3 llvm::PromoteMemToReg(llvm::ArrayRef<llvm::AllocaInst*>, llvm::DominatorTree&, llvm::AssumptionCache*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:1265:3 #19 0x000000000942e2c1 fetch_add /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/atomic_base.h:635:16 #20 0x000000000942e2c1 operator+= /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/Statistic.h:101:11 #21 0x000000000942e2c1 promoteMemoryToRegister(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/Mem2Reg.cpp:55:17 #22 0x000000000942dfe0 llvm::PromotePass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Utils/Mem2Reg.cpp:64:7 #23 0x0000000008cbbdf7 llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/PassManagerImpl.h:80:8 #24 0x0000000008cbfd08 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/PassManager.cpp:132:23 #25 0x0000000008cbaec7 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/PassManagerImpl.h:80:8 #26 0x0000000009c45506 ~SmallPtrSetImplBase /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallPtrSet.h:89:9 #27 0x0000000009c45506 ~PreservedAnalyses /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Analysis.h:112:7 #28 0x0000000009c45506 (anonymous namespace)::EmitAssemblyHelper::RunOptimizationPipeline(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>&, std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile>>&, clang::BackendConsumer*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1209:5 #29 0x0000000009c3a88c emitAssembly /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1291:23 #30 0x0000000009c3a88c clang::emitBackendOutput(clang::CompilerInstance&, clang::CodeGenOptions&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1477:13 #31 0x0000000009c51524 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6 #32 0x0000000009c51524 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:312:3 #33 0x000000000b937db9 __normal_iterator /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1077:20 #34 0x000000000b937db9 begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:874:16 #35 0x000000000b937db9 finalize<std::vector<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> >, std::allocator<std::unique_ptr<clang::TemplateInstantiationCallback, std::default_delete<clang::TemplateInstantiationCallback> > > > > /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/TemplateInstCallback.h:54:16 #36 0x000000000b937db9 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:190:3 #37 0x000000000a1bd8d6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10 #38 0x000000000a11d71d getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42 #39 0x000000000a11d71d operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16 #40 0x000000000a11d71d clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:990:23 #41 0x000000000a2b5cf8 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16 #42 0x000000000a2b5cf8 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66 #43 0x000000000a2b5cf8 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9 #44 0x000000000a2b5cf8 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:310:12 #45 0x000000000a2b5cf8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14 #46 0x0000000006485115 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:302:15 #47 0x0000000006480ef5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:229:12 #48 0x00000000064834ad operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:0:12 #49 0x00000000064834ad int llvm::function_ref<int (llvm::SmallVectorImpl<char const*>&)>::callback_fn<clang_main(int, char**, llvm::ToolContext const&)::$_0>(long, llvm::SmallVectorImpl<char const*>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12 #50 0x0000000009f65489 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:30 #51 0x0000000009f65489 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::$_0>(long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12 #52 0x000000000925f2ee operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12 #53 0x000000000925f2ee llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:437:3 #54 0x0000000009f64b4c clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:7 #55 0x0000000009f21d9c clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Compilation.cpp:196:15 #56 0x0000000009f21fb7 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Compilation.cpp:246:13 #57 0x0000000009f3f178 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:86:46 #58 0x0000000009f3f178 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Driver.cpp:2328:23 #59 0x00000000064806e9 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:419:21 #60 0x000000000649145d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10 #61 0x00007e1a635121ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca) #62 0x00007e1a6351228b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b) #63 0x000000000647e865 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang+++0x647e865) clang++: error: clang frontend command failed due to signal (use -v to see invocation) clang version 23.0.0git (https://github.com/llvm/llvm-project 74ff8ad875733101d104b4a017cf97d121877042) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin Build config: +assertions clang++: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang++: note: diagnostic msg: /home/gha/actions-runner/_work/llvm-project/llvm-project/artifacts/reproducers/asan_interceptors-d80854.cpp clang++: note: diagnostic msg: /home/gha/actions-runner/_work/llvm-project/llvm-project/artifacts/reproducers/asan_interceptors-d80854.sh clang++: note: diagnostic msg: ******************** Aborted ``` </details> If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label. https://github.com/llvm/llvm-project/pull/191909 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
