[PATCH] D153453: [MemCpyOpt] implement single BB stack-move optimization which unify the static unescaped allocas
Alan Zhao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 21 16:18:15 PDT 2023
ayzhao added a comment.
I'm seeing a crash caused by this patch when I'm building Chrome's unit tests on Windows:
C:\src\chromium\src>autoninja -C out\continuous obj/base/base_unittests/checked_iterators_unittest.obj
"C:\src\depot_tools\bootstrap-2 at 3_8_10_chromium_26_bin\python3\bin\python3.exe" C:\src\depot_tools\ninja.py -C out\continuous obj/base/base_unittests/checked_iterators_unittest.obj -j 130
ninja: Entering directory `out\continuous'
[1/1] CXX obj/base/base_unittests/checked_iterators_unittest.obj
FAILED: obj/base/base_unittests/checked_iterators_unittest.obj
"C:/src/depot_tools/bootstrap-2 at 3_8_10_chromium_26_bin/python3/bin/python3.exe" ../../build/toolchain/clang_code_coverage_wrapper.py --target-os=win ..\..\..\..\llvm-project\build-ninja\bin\clang-cl.exe /c ../../base/containers/checked_iterators_unittest.cc /Foobj/base/base_unittests/checked_iterators_unittest.obj /nologo /showIncludes:user /winsysroot../../third_party/depot_tools/win_toolchain/vs_files/27370823e7 -DUSE_AURA=1 -D_HAS_NODISCARD -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -D_LIBCPP_ENABLE_ASSERTIONS=1 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=84fb809dd6dae36d556dc0bb702c6cc2ce9d4b80 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_NI -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0 -DGTEST_API_= -DGTEST_HAS_POSIX_RE=0 -DGTEST_LANG_CXX11=1 -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_HAS_ABSL=1 -DUNIT_TEST -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/ced/src -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -I../../third_party/googletest/custom -I../../third_party/googletest/src/googlemock/include -I../../third_party/googletest/src/googletest/include /W4 -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wshadow -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1934 -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi -fprofile-instr-generate -fcoverage-mapping -fprofile-update=atomic -mllvm -runtime-counter-relocation=true -mllvm -limited-coverage-experimental=true /guard:cf /MT -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -DPROTOBUF_ALLOW_DEPRECATED=1 -Wno-inconsistent-missing-override /wd4800 /std:c++20 -Wno-trigraphs /TP /GR- -I../../buildtools/third_party/libc++/trunk/include /Fd"obj/base/base_unittests_cc.pdb"
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: ..\\..\\..\\..\\llvm-project\\build-ninja\\bin\\clang-cl.exe /c ../../base/containers/checked_iterators_unittest.cc /Foobj/base/base_unittests/checked_iterators_unittest.obj /nologo /showIncludes:user /winsysroot../../third_party/depot_tools/win_toolchain/vs_files/27370823e7 -DUSE_AURA=1 -D_HAS_NODISCARD -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -D_LIBCPP_ENABLE_ASSERTIONS=1 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=84fb809dd6dae36d556dc0bb702c6cc2ce9d4b80 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_NI -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0 -DGTEST_API_= -DGTEST_HAS_POSIX_RE=0 -DGTEST_LANG_CXX11=1 -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_HAS_ABSL=1 -DUNIT_TEST -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/ced/src -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -I../../third_party/googletest/custom -I../../third_party/googletest/src/googlemock/include -I../../third_party/googletest/src/googletest/include /W4 -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wshadow -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1934 -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi -fprofile-instr-generate -fcoverage-mapping -fprofile-update=atomic -mllvm -runtime-counter-relocation=true -mllvm -limited-coverage-experimental=true /guard:cf /MT -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -DPROTOBUF_ALLOW_DEPRECATED=1 -Wno-inconsistent-missing-override /wd4800 /std:c++20 -Wno-trigraphs /TP /GR- -I../../buildtools/third_party/libc++/trunk/include /Fdobj/base/base_unittests_cc.pdb
1. <eof> parser at end of file
2. Optimizer
Exception Code: 0xC0000005
#0 0x00007ff798095239 llvm::Type::getContext(void) const C:\src\llvm-project\llvm\include\llvm\IR\Type.h:129:0
#1 0x00007ff79845fcc6 llvm::Value::getContext(void) const C:\src\llvm-project\llvm\lib\IR\Value.cpp:1069:0
#2 0x00007ff798bd5a78 llvm::Value::setMetadata(unsigned int, class llvm::MDNode *) C:\src\llvm-project\llvm\lib\IR\Metadata.cpp:1405:0
#3 0x00007ff798bd612c llvm::Instruction::setMetadata(unsigned int, class llvm::MDNode *) C:\src\llvm-project\llvm\lib\IR\Metadata.cpp:1542:0
#4 0x00007ff79ea7b320 llvm::MemCpyOptPass::performStackMoveOptzn(class llvm::Instruction *, class llvm::Instruction *, class llvm::AllocaInst *, class llvm::AllocaInst *, unsigned __int64, class llvm::BatchAAResults &) C:\src\llvm-project\llvm\lib\Transforms\Scalar\MemCpyOptimizer.cpp:1632:0
#5 0x00007ff79ea7e9d2 llvm::MemCpyOptPass::processMemCpy(class llvm::MemCpyInst *, class llvm::ilist_iterator<struct llvm::ilist_detail::node_options<class llvm::Instruction, 1, 0, void>, 0, 0> &) C:\src\llvm-project\llvm\lib\Transforms\Scalar\MemCpyOptimizer.cpp:1754:0
#6 0x00007ff79ea7fd7c llvm::MemCpyOptPass::iterateOnFunction(class llvm::Function &) C:\src\llvm-project\llvm\lib\Transforms\Scalar\MemCpyOptimizer.cpp:1978:0
#7 0x00007ff79ea801bd llvm::MemCpyOptPass::runImpl(class llvm::Function &, class llvm::TargetLibraryInfo *, class llvm::AAResults *, class llvm::AssumptionCache *, class llvm::DominatorTree *, class llvm::MemorySSA *) C:\src\llvm-project\llvm\lib\Transforms\Scalar\MemCpyOptimizer.cpp:2032:0
#8 0x00007ff79ea80088 llvm::MemCpyOptPass::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &) C:\src\llvm-project\llvm\lib\Transforms\Scalar\MemCpyOptimizer.cpp:2009:0
#9 0x00007ff79bd63fc8 llvm::detail::PassModel<class llvm::Function, class llvm::MemCpyOptPass, class llvm::PreservedAnalyses, class llvm::AnalysisManager<class llvm::Function>>::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &) C:\src\llvm-project\llvm\include\llvm\IR\PassManagerInternal.h:89:0
#10 0x00007ff79924686c llvm::PassManager<class llvm::Function, class llvm::AnalysisManager<class llvm::Function>>::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &) C:\src\llvm-project\llvm\include\llvm\IR\PassManager.h:521:0
#11 0x00007ff799d4dac8 llvm::detail::PassModel<class llvm::Function, class llvm::PassManager<class llvm::Function, class llvm::AnalysisManager<class llvm::Function>>, class llvm::PreservedAnalyses, class llvm::AnalysisManager<class llvm::Function>>::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &) C:\src\llvm-project\llvm\include\llvm\IR\PassManagerInternal.h:89:0
#12 0x00007ff79b335b5d llvm::CGSCCToFunctionPassAdaptor::run(class llvm::LazyCallGraph::SCC &, class llvm::AnalysisManager<class llvm::LazyCallGraph::SCC, class llvm::LazyCallGraph &> &, class llvm::LazyCallGraph &, struct llvm::CGSCCUpdateResult &) C:\src\llvm-project\llvm\lib\Analysis\CGSCCPassManager.cpp:535:0
#13 0x00007ff79bd6ad52 llvm::detail::PassModel<class llvm::LazyCallGraph::SCC, class llvm::CGSCCToFunctionPassAdaptor, class llvm::PreservedAnalyses, class llvm::AnalysisManager<class llvm::LazyCallGraph::SCC, class llvm::LazyCallGraph &>, class llvm::LazyCallGraph &, struct llvm::CGSCCUpdateResult &>::run(class llvm::LazyCallGraph::SCC &, class llvm::AnalysisManager<class llvm::LazyCallGraph::SCC, class llvm::LazyCallGraph &> &, class llvm::LazyCallGraph &, struct llvm::CGSCCUpdateResult &) C:\src\llvm-project\llvm\include\llvm\IR\PassManagerInternal.h:89:0
#14 0x00007ff79b333bbd llvm::PassManager<class llvm::LazyCallGraph::SCC, class llvm::AnalysisManager<class llvm::LazyCallGraph::SCC, class llvm::LazyCallGraph &>, class llvm::LazyCallGraph &, struct llvm::CGSCCUpdateResult &>::run(class llvm::LazyCallGraph::SCC &, class llvm::AnalysisManager<class llvm::LazyCallGraph::SCC, class llvm::LazyCallGraph &> &, class llvm::LazyCallGraph &, struct llvm::CGSCCUpdateResult &) C:\src\llvm-project\llvm\lib\Analysis\CGSCCPassManager.cpp:90:0
#15 0x00007ff79bd84252 llvm::detail::PassModel<class llvm::LazyCallGraph::SCC, class llvm::PassManager<class llvm::LazyCallGraph::SCC, class llvm::AnalysisManager<class llvm::LazyCallGraph::SCC, class llvm::LazyCallGraph &>, class llvm::LazyCallGraph &, struct llvm::CGSCCUpdateResult &>, class llvm::PreservedAnalyses, class llvm::AnalysisManager<class llvm::LazyCallGraph::SCC, class llvm::LazyCallGraph &>, class llvm::LazyCallGraph &, struct llvm::CGSCCUpdateResult &>::run(class llvm::LazyCallGraph::SCC &, class llvm::AnalysisManager<class llvm::LazyCallGraph::SCC, class llvm::LazyCallGraph &> &, class llvm::LazyCallGraph &, struct llvm::CGSCCUpdateResult &) C:\src\llvm-project\llvm\include\llvm\IR\PassManagerInternal.h:89:0
#16 0x00007ff79b334a79 llvm::DevirtSCCRepeatedPass::run(class llvm::LazyCallGraph::SCC &, class llvm::AnalysisManager<class llvm::LazyCallGraph::SCC, class llvm::LazyCallGraph &> &, class llvm::LazyCallGraph &, struct llvm::CGSCCUpdateResult &) C:\src\llvm-project\llvm\lib\Analysis\CGSCCPassManager.cpp:405:0
#17 0x00007ff79bea5db2 llvm::detail::PassModel<class llvm::LazyCallGraph::SCC, class llvm::DevirtSCCRepeatedPass, class llvm::PreservedAnalyses, class llvm::AnalysisManager<class llvm::LazyCallGraph::SCC, class llvm::LazyCallGraph &>, class llvm::LazyCallGraph &, struct llvm::CGSCCUpdateResult &>::run(class llvm::LazyCallGraph::SCC &, class llvm::AnalysisManager<class llvm::LazyCallGraph::SCC, class llvm::LazyCallGraph &> &, class llvm::LazyCallGraph &, struct llvm::CGSCCUpdateResult &) C:\src\llvm-project\llvm\include\llvm\IR\PassManagerInternal.h:89:0
#18 0x00007ff79b334560 llvm::ModuleToPostOrderCGSCCPassAdaptor::run(class llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &) C:\src\llvm-project\llvm\lib\Analysis\CGSCCPassManager.cpp:278:0
#19 0x00007ff79bd709a8 llvm::detail::PassModel<class llvm::Module, class llvm::ModuleToPostOrderCGSCCPassAdaptor, class llvm::PreservedAnalyses, class llvm::AnalysisManager<class llvm::Module>>::run(class llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &) C:\src\llvm-project\llvm\include\llvm\IR\PassManagerInternal.h:89:0
#20 0x00007ff7992454dc llvm::PassManager<class llvm::Module, class llvm::AnalysisManager<class llvm::Module>>::run(class llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &) C:\src\llvm-project\llvm\include\llvm\IR\PassManager.h:521:0
#21 0x00007ff79e83e609 llvm::ModuleInlinerWrapperPass::run(class llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &) C:\src\llvm-project\llvm\lib\Transforms\IPO\Inliner.cpp:633:0
#22 0x00007ff79bd6b3b8 llvm::detail::PassModel<class llvm::Module, class llvm::ModuleInlinerWrapperPass, class llvm::PreservedAnalyses, class llvm::AnalysisManager<class llvm::Module>>::run(class llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &) C:\src\llvm-project\llvm\include\llvm\IR\PassManagerInternal.h:89:0
#23 0x00007ff7992454dc llvm::PassManager<class llvm::Module, class llvm::AnalysisManager<class llvm::Module>>::run(class llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &) C:\src\llvm-project\llvm\include\llvm\IR\PassManager.h:521:0
#24 0x00007ff799d338a1 `anonymous namespace'::EmitAssemblyHelper::RunOptimizationPipeline C:\src\llvm-project\clang\lib\CodeGen\BackendUtil.cpp:1100:0
#25 0x00007ff799d2ddc3 `anonymous namespace'::EmitAssemblyHelper::EmitAssembly C:\src\llvm-project\clang\lib\CodeGen\BackendUtil.cpp:1157:0
#26 0x00007ff799d2d139 clang::EmitBackendOutput(class clang::DiagnosticsEngine &, class clang::HeaderSearchOptions const &, class clang::CodeGenOptions const &, class clang::TargetOptions const &, class clang::LangOptions const &, class llvm::StringRef, class llvm::Module *, enum clang::BackendAction, class llvm::IntrusiveRefCntPtr<class llvm::vfs::FileSystem>, class std::unique_ptr<class llvm::raw_pwrite_stream, struct std::default_delete<class llvm::raw_pwrite_stream>>) C:\src\llvm-project\clang\lib\CodeGen\BackendUtil.cpp:1324:0
#27 0x00007ff79a5fe890 clang::BackendConsumer::HandleTranslationUnit(class clang::ASTContext &) C:\src\llvm-project\clang\lib\CodeGen\CodeGenAction.cpp:390:0
#28 0x00007ff79d41e3f5 clang::ParseAST(class clang::Sema &, bool, bool) C:\src\llvm-project\clang\lib\Parse\ParseAST.cpp:183:0
#29 0x00007ff79a38e0f2 clang::ASTFrontendAction::ExecuteAction(void) C:\src\llvm-project\clang\lib\Frontend\FrontendAction.cpp:1170:0
#30 0x00007ff79a5f7a9a clang::CodeGenAction::ExecuteAction(void) C:\src\llvm-project\clang\lib\CodeGen\CodeGenAction.cpp:1183:0
#31 0x00007ff79a38dabd clang::FrontendAction::Execute(void) C:\src\llvm-project\clang\lib\Frontend\FrontendAction.cpp:1062:0
#32 0x00007ff798a5cba7 clang::CompilerInstance::ExecuteAction(class clang::FrontendAction &) C:\src\llvm-project\clang\lib\Frontend\CompilerInstance.cpp:1049:0
#33 0x00007ff798b5dec2 clang::ExecuteCompilerInvocation(class clang::CompilerInstance *) C:\src\llvm-project\clang\lib\FrontendTool\ExecuteCompilerInvocation.cpp:272:0
#34 0x00007ff798054cb3 cc1_main(class llvm::ArrayRef<char const *>, char const *, void *) C:\src\llvm-project\clang\tools\driver\cc1_main.cpp:249:0
#35 0x00007ff79804281b ExecuteCC1Tool C:\src\llvm-project\clang\tools\driver\driver.cpp:366:0
#36 0x00007ff7980443cd clang_main::<lambda_0>::operator() C:\src\llvm-project\clang\tools\driver\driver.cpp:506:0
#37 0x00007ff79804439d llvm::function_ref<int (llvm::SmallVectorImpl<const char *> &)>::callback_fn<`lambda at C:/src/llvm-project/clang/tools/driver/driver.cpp:505:25'> C:\src\llvm-project\llvm\include\llvm\ADT\STLFunctionalExtras.h:45:0
#38 0x00007ff799fe7691 llvm::function_ref<(class llvm::SmallVectorImpl<char const *> &)>::operator()(class llvm::SmallVectorImpl<char const *> &) const C:\src\llvm-project\llvm\include\llvm\ADT\STLFunctionalExtras.h:68:0
#39 0x00007ff799fe3587 clang::driver::CC1Command::Execute::<lambda_1>::operator() C:\src\llvm-project\clang\lib\Driver\Job.cpp:440:0
#40 0x00007ff799fe3553 llvm::function_ref<void ()>::callback_fn<`lambda at C:/src/llvm-project/clang/lib/Driver/Job.cpp:440:22'> C:\src\llvm-project\llvm\include\llvm\ADT\STLFunctionalExtras.h:45:0
#41 0x00007ff7987d3b47 llvm::function_ref<(void)>::operator()(void) const C:\src\llvm-project\llvm\include\llvm\ADT\STLFunctionalExtras.h:68:0
#42 0x00007ff7987e0a7f llvm::CrashRecoveryContext::RunSafely(class llvm::function_ref<(void)>) C:\src\llvm-project\llvm\lib\Support\CrashRecoveryContext.cpp:235:0
#43 0x00007ff799fe30c8 clang::driver::CC1Command::Execute(class llvm::ArrayRef<class std::optional<class llvm::StringRef>>, class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> *, bool *) const C:\src\llvm-project\clang\lib\Driver\Job.cpp:440:0
#44 0x00007ff7989dfbbf clang::driver::Compilation::ExecuteCommand(class clang::driver::Command const &, class clang::driver::Command const *&, bool) const C:\src\llvm-project\clang\lib\Driver\Compilation.cpp:199:0
#45 0x00007ff7989dfddf clang::driver::Compilation::ExecuteJobs(class clang::driver::JobList const &, class llvm::SmallVectorImpl<struct std::pair<int, class clang::driver::Command const *>> &, bool) const C:\src\llvm-project\clang\lib\Driver\Compilation.cpp:253:0
#46 0x00007ff7989fe0d2 clang::driver::Driver::ExecuteCompilation(class clang::driver::Compilation &, class llvm::SmallVectorImpl<struct std::pair<int, class clang::driver::Command const *>> &) C:\src\llvm-project\clang\lib\Driver\Driver.cpp:1906:0
#47 0x00007ff798042291 clang_main(int, char **, struct llvm::ToolContext const &) C:\src\llvm-project\clang\tools\driver\driver.cpp:542:0
#48 0x00007ff798077a02 main C:\src\llvm-project\build-ninja\tools\clang\tools\driver\clang-driver.cpp:15:0
#49 0x00007ff7a1bf3b89 invoke_main D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:79:0
#50 0x00007ff7a1bf3cbe __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288:0
#51 0x00007ff7a1bf3d3e __scrt_common_main D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:331:0
#52 0x00007ff7a1bf3d5e mainCRTStartup D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp:17:0
#53 0x00007ffdcdd77614 (C:\Windows\System32\KERNEL32.DLL+0x17614)
#54 0x00007ffdcf3826b1 (C:\Windows\SYSTEM32\ntdll.dll+0x526b1)
clang-cl: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 17.0.0 (git at github.com:llvm/llvm-project.git f7e4304120506c9973a5ac939e06c106d8816911)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: ..\..\..\..\llvm-project\build-ninja\bin
clang-cl: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-cl: note: diagnostic msg: ../../tools/clang/crashreports\checked_iterators_unittest-808a19.cpp
clang-cl: note: diagnostic msg: ../../tools/clang/crashreports\checked_iterators_unittest-808a19.sh
clang-cl: note: diagnostic msg:
********************
ninja: build stopped: subcommand failed.
F28386078: checked_iterators_unittest-808a19.cpp <https://reviews.llvm.org/F28386078>
F28386076: checked_iterators_unittest-808a19.sh <https://reviews.llvm.org/F28386076>
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153453/new/
https://reviews.llvm.org/D153453
More information about the llvm-commits
mailing list