[llvm] [RISCV][Disassembler] Symbolize UImm20 and SImm12Lo operands (PR #217550)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 22 23:19:59 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-riscv-rva20-2stage` running on `rise-clang-riscv-rva20-2stage` while building `llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/87/builds/7963
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/rise-riscv-build.sh --jobs=32' (failure)
...
[5681/8107] Building CXX object utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/CodeGenInstruction.cpp.o
[5682/8107] Building CXX object utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/GlobalISelMatchTableExecutorEmitter.cpp.o
[5683/8107] Building CXX object tools/llvm-exegesis/lib/CMakeFiles/LLVMExegesis.dir/SnippetFile.cpp.o
[5684/8107] Building CXX object utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/CodeGenInstAlias.cpp.o
[5685/8107] Building CXX object utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/PredicateExpander.cpp.o
[5686/8107] Building CXX object lib/InterfaceStub/CMakeFiles/LLVMInterfaceStub.dir/IFSStub.cpp.o
[5687/8107] Building CXX object utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/SubtargetFeatureInfo.cpp.o
[5688/8107] Building CXX object tools/llvm-exegesis/lib/CMakeFiles/LLVMExegesis.dir/SnippetGenerator.cpp.o
[5689/8107] Building CXX object utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/InstructionEncoding.cpp.o
[5690/8107] Building CXX object utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o
FAILED: utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o
/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang++ --target=riscv64-linux-gnu --sysroot=/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/../rvsysroot -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/utils/TableGen/Common -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Common -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/include -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/include -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Common/.. -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Basic/.. -march=rva20u64 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -Winvalid-pch -Xclang -include-pch -Xclang /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/lib/Support/CMakeFiles/LLVMSupport.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/lib/Support/CMakeFiles/LLVMSupport.dir/cmake_pch.hxx -MD -MT utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o -MF utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o.d -o utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o -c /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Common/GlobalISel/Patterns.cpp
clang++: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/lib/IR/DataLayout.cpp:50: llvm::StructLayout::StructLayout(StructType *, const DataLayout &): Assertion `!ST->isOpaque() && "Cannot get layout of opaque structs"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
Stack dump:
0. Program arguments: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang++ --target=riscv64-linux-gnu --sysroot=/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/../rvsysroot -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/utils/TableGen/Common -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Common -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/include -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/include -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Common/.. -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Basic/.. -march=rva20u64 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -Winvalid-pch -Xclang -include-pch -Xclang /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/lib/Support/CMakeFiles/LLVMSupport.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/lib/Support/CMakeFiles/LLVMSupport.dir/cmake_pch.hxx -MD -MT utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o -MF utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o.d -o utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o -c /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Common/GlobalISel/Patterns.cpp
1. <eof> parser at end of file
2. Code generation
#0 0x0000593cb2189a4c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x4241a4c)
#1 0x0000593cb2186601 llvm::sys::RunSignalHandlers() (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x423e601)
#2 0x0000593cb2188427 llvm::sys::CleanupOnSignal(unsigned long) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x4240427)
#3 0x0000593cb20e664d CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
#4 0x000078585264c1d0 (/usr/lib/libc.so.6+0x3d1d0)
#5 0x00007858526a53f4 (/usr/lib/libc.so.6+0x963f4)
#6 0x000078585264c120 raise (/usr/lib/libc.so.6+0x3d120)
#7 0x00007858526334c3 abort (/usr/lib/libc.so.6+0x244c3)
#8 0x00007858526333df (/usr/lib/libc.so.6+0x243df)
#9 0x0000785852644177 (/usr/lib/libc.so.6+0x35177)
#10 0x0000593cb1ac9976 (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x3b81976)
#11 0x0000593cb1ac9af1 llvm::DataLayout::getTypeAllocSize(llvm::Type*) const (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x3b81af1)
#12 0x0000593cb1b610e0 llvm::GlobalVariable::getGlobalSize(llvm::DataLayout const&) const (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x3c190e0)
#13 0x0000593cb0e96813 (anonymous namespace)::RISCVAsmPrinter::getRequiredGlobalAlignmentGranule(llvm::GlobalVariable const&) RISCVAsmPrinter.cpp:0:0
#14 0x0000593cb3cc2853 llvm::AsmPrinter::emitGlobalVariable(llvm::GlobalVariable const*) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x5d7a853)
#15 0x0000593cb3cd04e9 llvm::AsmPrinter::doFinalization(llvm::Module&) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x5d884e9)
#16 0x0000593cb1bc424a llvm::FPPassManager::doFinalization(llvm::Module&) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x3c7c24a)
#17 0x0000593cb1bbd522 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x3c75522)
#18 0x0000593cb2b932c5 (anonymous namespace)::EmitAssemblyHelper::TimeCodegenPasses(llvm::function_ref<void ()>) BackendUtil.cpp:0:0
#19 0x0000593cb2b820ba (anonymous namespace)::EmitAssemblyHelper::emitAssembly(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) BackendUtil.cpp:0:0
#20 0x0000593cb2b7f33c 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/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x4c3733c)
#21 0x0000593cb2b9c502 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x4c54502)
#22 0x0000593cb48e36b9 clang::ParseAST(clang::Sema&, bool, bool) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x699b6b9)
#23 0x0000593cb31ad244 clang::FrontendAction::Execute() (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x5265244)
#24 0x0000593cb31124d7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x51ca4d7)
#25 0x0000593cb327f774 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x5337774)
#26 0x0000593cb0e83953 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x2f3b953)
#27 0x0000593cb0e7f5b3 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) driver.cpp:0:0
#28 0x0000593cb0e81c78 int llvm::function_ref<int (llvm::SmallVectorImpl<char const*>&)>::callback_fn<clang_main(int, char**, llvm::ToolContext const&)::$_0>(long, llvm::SmallVectorImpl<char const*>&) driver.cpp:0:0
#29 0x0000593cb2f27d39 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) Job.cpp:0:0
#30 0x0000593cb20e632e llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x419e32e)
Step 10 (llvm-project build stage 2) failure: llvm-project build stage 2 (failure)
...
[5681/8107] Building CXX object utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/CodeGenInstruction.cpp.o
[5682/8107] Building CXX object utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/GlobalISelMatchTableExecutorEmitter.cpp.o
[5683/8107] Building CXX object tools/llvm-exegesis/lib/CMakeFiles/LLVMExegesis.dir/SnippetFile.cpp.o
[5684/8107] Building CXX object utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/CodeGenInstAlias.cpp.o
[5685/8107] Building CXX object utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/PredicateExpander.cpp.o
[5686/8107] Building CXX object lib/InterfaceStub/CMakeFiles/LLVMInterfaceStub.dir/IFSStub.cpp.o
[5687/8107] Building CXX object utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/SubtargetFeatureInfo.cpp.o
[5688/8107] Building CXX object tools/llvm-exegesis/lib/CMakeFiles/LLVMExegesis.dir/SnippetGenerator.cpp.o
[5689/8107] Building CXX object utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/InstructionEncoding.cpp.o
[5690/8107] Building CXX object utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o
FAILED: utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o
/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang++ --target=riscv64-linux-gnu --sysroot=/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/../rvsysroot -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/utils/TableGen/Common -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Common -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/include -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/include -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Common/.. -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Basic/.. -march=rva20u64 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -Winvalid-pch -Xclang -include-pch -Xclang /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/lib/Support/CMakeFiles/LLVMSupport.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/lib/Support/CMakeFiles/LLVMSupport.dir/cmake_pch.hxx -MD -MT utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o -MF utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o.d -o utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o -c /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Common/GlobalISel/Patterns.cpp
clang++: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/lib/IR/DataLayout.cpp:50: llvm::StructLayout::StructLayout(StructType *, const DataLayout &): Assertion `!ST->isOpaque() && "Cannot get layout of opaque structs"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
Stack dump:
0. Program arguments: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang++ --target=riscv64-linux-gnu --sysroot=/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/../rvsysroot -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/utils/TableGen/Common -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Common -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/include -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/include -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Common/.. -I/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Basic/.. -march=rva20u64 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -Winvalid-pch -Xclang -include-pch -Xclang /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/lib/Support/CMakeFiles/LLVMSupport.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/lib/Support/CMakeFiles/LLVMSupport.dir/cmake_pch.hxx -MD -MT utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o -MF utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o.d -o utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/GlobalISel/Patterns.cpp.o -c /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/utils/TableGen/Common/GlobalISel/Patterns.cpp
1. <eof> parser at end of file
2. Code generation
#0 0x0000593cb2189a4c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x4241a4c)
#1 0x0000593cb2186601 llvm::sys::RunSignalHandlers() (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x423e601)
#2 0x0000593cb2188427 llvm::sys::CleanupOnSignal(unsigned long) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x4240427)
#3 0x0000593cb20e664d CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
#4 0x000078585264c1d0 (/usr/lib/libc.so.6+0x3d1d0)
#5 0x00007858526a53f4 (/usr/lib/libc.so.6+0x963f4)
#6 0x000078585264c120 raise (/usr/lib/libc.so.6+0x3d120)
#7 0x00007858526334c3 abort (/usr/lib/libc.so.6+0x244c3)
#8 0x00007858526333df (/usr/lib/libc.so.6+0x243df)
#9 0x0000785852644177 (/usr/lib/libc.so.6+0x35177)
#10 0x0000593cb1ac9976 (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x3b81976)
#11 0x0000593cb1ac9af1 llvm::DataLayout::getTypeAllocSize(llvm::Type*) const (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x3b81af1)
#12 0x0000593cb1b610e0 llvm::GlobalVariable::getGlobalSize(llvm::DataLayout const&) const (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x3c190e0)
#13 0x0000593cb0e96813 (anonymous namespace)::RISCVAsmPrinter::getRequiredGlobalAlignmentGranule(llvm::GlobalVariable const&) RISCVAsmPrinter.cpp:0:0
#14 0x0000593cb3cc2853 llvm::AsmPrinter::emitGlobalVariable(llvm::GlobalVariable const*) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x5d7a853)
#15 0x0000593cb3cd04e9 llvm::AsmPrinter::doFinalization(llvm::Module&) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x5d884e9)
#16 0x0000593cb1bc424a llvm::FPPassManager::doFinalization(llvm::Module&) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x3c7c24a)
#17 0x0000593cb1bbd522 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x3c75522)
#18 0x0000593cb2b932c5 (anonymous namespace)::EmitAssemblyHelper::TimeCodegenPasses(llvm::function_ref<void ()>) BackendUtil.cpp:0:0
#19 0x0000593cb2b820ba (anonymous namespace)::EmitAssemblyHelper::emitAssembly(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) BackendUtil.cpp:0:0
#20 0x0000593cb2b7f33c 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/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x4c3733c)
#21 0x0000593cb2b9c502 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x4c54502)
#22 0x0000593cb48e36b9 clang::ParseAST(clang::Sema&, bool, bool) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x699b6b9)
#23 0x0000593cb31ad244 clang::FrontendAction::Execute() (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x5265244)
#24 0x0000593cb31124d7 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x51ca4d7)
#25 0x0000593cb327f774 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x5337774)
#26 0x0000593cb0e83953 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x2f3b953)
#27 0x0000593cb0e7f5b3 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) driver.cpp:0:0
#28 0x0000593cb0e81c78 int llvm::function_ref<int (llvm::SmallVectorImpl<char const*>&)>::callback_fn<clang_main(int, char**, llvm::ToolContext const&)::$_0>(long, llvm::SmallVectorImpl<char const*>&) driver.cpp:0:0
#29 0x0000593cb2f27d39 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) Job.cpp:0:0
#30 0x0000593cb20e632e llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage1/bin/clang+++0x419e32e)
```
</details>
https://github.com/llvm/llvm-project/pull/217550
More information about the llvm-commits
mailing list