[clang] [llvm] [DebugInfo] Fix endianness in DW_AT_const_value for constexpr arrays (PR #184804)

via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 5 07:42:55 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 170760 tests passed
* 3016 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/scudo/standalone/tests/ScudoUnitTestsObjects.size_class_map_test.cpp.x86_64.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTestsObjects.size_class_map_test.cpp.x86_64.o</summary>

```
FAILED: compiler-rt/lib/scudo/standalone/tests/ScudoUnitTestsObjects.size_class_map_test.cpp.x86_64.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTestsObjects.size_class_map_test.cpp.x86_64.o
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/scudo/standalone/tests && /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ -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 -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone/include -DGTEST_HAS_RTTI=0 -g -Wconversion -Wno-mismatched-new-delete -DGWP_ASAN_HOOKS -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Werror=thread-safety -m64 -c -o ScudoUnitTestsObjects.size_class_map_test.cpp.x86_64.o /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone/tests/size_class_map_test.cpp
clang++: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/MC/MCStreamer.cpp:133: virtual void llvm::MCStreamer::emitIntValue(uint64_t, unsigned int): Assertion `(isUIntN(8 * Size, Value) || isIntN(8 * Size, Value)) && "Invalid size"' 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++ -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 -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone/include -DGTEST_HAS_RTTI=0 -g -Wconversion -Wno-mismatched-new-delete -DGWP_ASAN_HOOKS -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Werror=thread-safety -m64 -c -o ScudoUnitTestsObjects.size_class_map_test.cpp.x86_64.o /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone/tests/size_class_map_test.cpp
1.	<eof> parser at end of file
2.	Code generation
#0 0x00000000091d8c58 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 0x00000000091d5c05 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x00000000091377c6 HandleCrash /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:73:5
#3 0x00000000091377c6 CrashRecoverySignalHandler(int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:393:51
#4 0x00007a2e0b5ab330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#5 0x00007a2e0b604b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#6 0x00007a2e0b5ab27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#7 0x00007a2e0b58e8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#8 0x00007a2e0b58e81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
#9 0x00007a2e0b5a1517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
#10 0x0000000008f20dfb (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang+++0x8f20dfb)
#11 0x000000000a33bf39 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:671:12
#12 0x000000000a33bf39 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:674:51
#13 0x000000000a33bf39 values /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:820:49
#14 0x000000000a33bf39 llvm::DIEBlock::emitValue(llvm::AsmPrinter const*, llvm::dwarf::Form) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/DIE.cpp:784:24
#15 0x000000000a32c467 asInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:41:5
#16 0x000000000a32c467 operator long /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:45:48
#17 0x000000000a32c467 getInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:96:57
#18 0x000000000a32c467 getNext /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:537:17
#19 0x000000000a32c467 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:660:14
#20 0x000000000a32c467 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/iterator.h:286:5
#21 0x000000000a32c467 llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp:279:22
#22 0x000000000a32c4b1 asInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:41:5
#23 0x000000000a32c4b1 operator long /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:45:48
#24 0x000000000a32c4b1 getInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:96:57
#25 0x000000000a32c4b1 getNext /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:537:17
#26 0x000000000a32c4b1 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:660:14
#27 0x000000000a32c4b1 llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp:296:28
#28 0x000000000a32c4b1 asInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:41:5
#29 0x000000000a32c4b1 operator long /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:45:48
#30 0x000000000a32c4b1 getInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:96:57
#31 0x000000000a32c4b1 getNext /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:537:17
#32 0x000000000a32c4b1 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:660:14
#33 0x000000000a32c4b1 llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp:296:28
#34 0x000000000a32c4b1 asInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:41:5
#35 0x000000000a32c4b1 operator long /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:45:48
#36 0x000000000a32c4b1 getInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:96:57
#37 0x000000000a32c4b1 getNext /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:537:17
#38 0x000000000a32c4b1 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:660:14
#39 0x000000000a32c4b1 llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp:296:28
#40 0x000000000a38c0ae getEndLabel /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h:110:42
#41 0x000000000a38c0ae emitUnit /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp:52:34
#42 0x000000000a38c0ae llvm::DwarfFile::emitUnits(bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp:31:5
#43 0x000000000a355595 llvm::DwarfDebug::endModule() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1576:7
#44 0x000000000a31874a llvm::AsmPrinter::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:2963:22
#45 0x0000000008b5025a llvm::FPPassManager::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1462:13
#46 0x0000000008b49a5e runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1549:13
#47 0x0000000008b49a5e llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
#48 0x0000000009ae3673 RunCodegenPipeline /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1278:9
#49 0x0000000009ae3673 emitAssembly /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1301:3
#50 0x0000000009ae3673 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:1473:13
#51 0x0000000009af9ac4 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6
#52 0x0000000009af9ac4 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:312:3
#53 0x000000000b73cc39 __normal_iterator /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1077:20
#54 0x000000000b73cc39 begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:874:16
#55 0x000000000b73cc39 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
#56 0x000000000b73cc39 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:190:3
#57 0x000000000a03bb56 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1326:10
#58 0x0000000009fa0ecd getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
#59 0x0000000009fa0ecd operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
#60 0x0000000009fa0ecd clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1002:23
#61 0x000000000a130758 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
#62 0x000000000a130758 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
#63 0x000000000a130758 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
#64 0x000000000a130758 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:301:12
#65 0x000000000a130758 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:313:14
#66 0x00000000063a6fd9 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
#67 0x00000000063a2dd5 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
#68 0x00000000063a538d operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:0:12
#69 0x00000000063a538d 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
#70 0x0000000009e072c9 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:30
#71 0x0000000009e072c9 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
#72 0x00000000091374de operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12
#73 0x00000000091374de llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:437:3
#74 0x0000000009e06993 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
#75 0x0000000009dc420c 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
#76 0x0000000009dc4427 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
#77 0x0000000009de1628 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:83:46
#78 0x0000000009de1628 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:2330:23
#79 0x00000000063a25c5 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:419:21
#80 0x00000000063b324d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
#81 0x00007a2e0b5901ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#82 0x00007a2e0b59028b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#83 0x00000000063a0765 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang+++0x63a0765)
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 bdc1aa44a3e0333ac9b74c4b66ecc97ac19a0ede)
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/size_class_map_test-b54290.cpp
clang++: note: diagnostic msg: /home/gha/actions-runner/_work/llvm-project/llvm-project/artifacts/reproducers/size_class_map_test-b54290.sh
clang++: note: diagnostic msg:

********************
Aborted
```
</details>
<details>
<summary>compiler-rt/lib/scudo/standalone/tests/ScudoUnitTestsObjects.release_test.cpp.x86_64.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTestsObjects.release_test.cpp.x86_64.o</summary>

```
FAILED: compiler-rt/lib/scudo/standalone/tests/ScudoUnitTestsObjects.release_test.cpp.x86_64.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTestsObjects.release_test.cpp.x86_64.o
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/scudo/standalone/tests && /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ -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 -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone/include -DGTEST_HAS_RTTI=0 -g -Wconversion -Wno-mismatched-new-delete -DGWP_ASAN_HOOKS -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Werror=thread-safety -m64 -c -o ScudoUnitTestsObjects.release_test.cpp.x86_64.o /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone/tests/release_test.cpp
clang++: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/MC/MCStreamer.cpp:133: virtual void llvm::MCStreamer::emitIntValue(uint64_t, unsigned int): Assertion `(isUIntN(8 * Size, Value) || isIntN(8 * Size, Value)) && "Invalid size"' 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++ -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 -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone/include -DGTEST_HAS_RTTI=0 -g -Wconversion -Wno-mismatched-new-delete -DGWP_ASAN_HOOKS -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Werror=thread-safety -m64 -c -o ScudoUnitTestsObjects.release_test.cpp.x86_64.o /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone/tests/release_test.cpp
1.	<eof> parser at end of file
2.	Code generation
#0 0x00000000091d8c58 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 0x00000000091d5c05 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x00000000091377c6 HandleCrash /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:73:5
#3 0x00000000091377c6 CrashRecoverySignalHandler(int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:393:51
#4 0x00007dd0aeb30330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#5 0x00007dd0aeb89b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#6 0x00007dd0aeb3027e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#7 0x00007dd0aeb138ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#8 0x00007dd0aeb1381b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
#9 0x00007dd0aeb26517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
#10 0x0000000008f20dfb (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang+++0x8f20dfb)
#11 0x000000000a33bf39 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:671:12
#12 0x000000000a33bf39 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:674:51
#13 0x000000000a33bf39 values /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:820:49
#14 0x000000000a33bf39 llvm::DIEBlock::emitValue(llvm::AsmPrinter const*, llvm::dwarf::Form) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/DIE.cpp:784:24
#15 0x000000000a32c467 asInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:41:5
#16 0x000000000a32c467 operator long /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:45:48
#17 0x000000000a32c467 getInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:96:57
#18 0x000000000a32c467 getNext /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:537:17
#19 0x000000000a32c467 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:660:14
#20 0x000000000a32c467 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/iterator.h:286:5
#21 0x000000000a32c467 llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp:279:22
#22 0x000000000a32c4b1 asInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:41:5
#23 0x000000000a32c4b1 operator long /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:45:48
#24 0x000000000a32c4b1 getInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:96:57
#25 0x000000000a32c4b1 getNext /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:537:17
#26 0x000000000a32c4b1 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:660:14
#27 0x000000000a32c4b1 llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp:296:28
#28 0x000000000a32c4b1 asInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:41:5
#29 0x000000000a32c4b1 operator long /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:45:48
#30 0x000000000a32c4b1 getInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:96:57
#31 0x000000000a32c4b1 getNext /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:537:17
#32 0x000000000a32c4b1 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:660:14
#33 0x000000000a32c4b1 llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp:296:28
#34 0x000000000a32c4b1 asInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:41:5
#35 0x000000000a32c4b1 operator long /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:45:48
#36 0x000000000a32c4b1 getInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:96:57
#37 0x000000000a32c4b1 getNext /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:537:17
#38 0x000000000a32c4b1 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:660:14
#39 0x000000000a32c4b1 llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp:296:28
#40 0x000000000a38c0ae getEndLabel /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h:110:42
#41 0x000000000a38c0ae emitUnit /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp:52:34
#42 0x000000000a38c0ae llvm::DwarfFile::emitUnits(bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp:31:5
#43 0x000000000a355595 llvm::DwarfDebug::endModule() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1576:7
#44 0x000000000a31874a llvm::AsmPrinter::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:2963:22
#45 0x0000000008b5025a llvm::FPPassManager::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1462:13
#46 0x0000000008b49a5e runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1549:13
#47 0x0000000008b49a5e llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
#48 0x0000000009ae3673 RunCodegenPipeline /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1278:9
#49 0x0000000009ae3673 emitAssembly /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1301:3
#50 0x0000000009ae3673 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:1473:13
#51 0x0000000009af9ac4 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6
#52 0x0000000009af9ac4 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:312:3
#53 0x000000000b73cc39 __normal_iterator /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1077:20
#54 0x000000000b73cc39 begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:874:16
#55 0x000000000b73cc39 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
#56 0x000000000b73cc39 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:190:3
#57 0x000000000a03bb56 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1326:10
#58 0x0000000009fa0ecd getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
#59 0x0000000009fa0ecd operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
#60 0x0000000009fa0ecd clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1002:23
#61 0x000000000a130758 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
#62 0x000000000a130758 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
#63 0x000000000a130758 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
#64 0x000000000a130758 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:301:12
#65 0x000000000a130758 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:313:14
#66 0x00000000063a6fd9 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
#67 0x00000000063a2dd5 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
#68 0x00000000063a538d operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:0:12
#69 0x00000000063a538d 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
#70 0x0000000009e072c9 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:30
#71 0x0000000009e072c9 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
#72 0x00000000091374de operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12
#73 0x00000000091374de llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:437:3
#74 0x0000000009e06993 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
#75 0x0000000009dc420c 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
#76 0x0000000009dc4427 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
#77 0x0000000009de1628 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:83:46
#78 0x0000000009de1628 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:2330:23
#79 0x00000000063a25c5 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:419:21
#80 0x00000000063b324d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
#81 0x00007dd0aeb151ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#82 0x00007dd0aeb1528b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#83 0x00000000063a0765 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang+++0x63a0765)
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 bdc1aa44a3e0333ac9b74c4b66ecc97ac19a0ede)
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/release_test-369af4.cpp
clang++: note: diagnostic msg: /home/gha/actions-runner/_work/llvm-project/llvm-project/artifacts/reproducers/release_test-369af4.sh
clang++: note: diagnostic msg:

********************
Aborted
```
</details>
<details>
<summary>compiler-rt/lib/scudo/standalone/tests/ScudoUnitTestsObjects.combined_test.cpp.x86_64.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTestsObjects.combined_test.cpp.x86_64.o</summary>

```
FAILED: compiler-rt/lib/scudo/standalone/tests/ScudoUnitTestsObjects.combined_test.cpp.x86_64.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTestsObjects.combined_test.cpp.x86_64.o
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/scudo/standalone/tests && /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ -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 -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone/include -DGTEST_HAS_RTTI=0 -g -Wconversion -Wno-mismatched-new-delete -DGWP_ASAN_HOOKS -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Werror=thread-safety -m64 -c -o ScudoUnitTestsObjects.combined_test.cpp.x86_64.o /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
clang++: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/MC/MCStreamer.cpp:133: virtual void llvm::MCStreamer::emitIntValue(uint64_t, unsigned int): Assertion `(isUIntN(8 * Size, Value) || isIntN(8 * Size, Value)) && "Invalid size"' 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++ -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 -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone/include -DGTEST_HAS_RTTI=0 -g -Wconversion -Wno-mismatched-new-delete -DGWP_ASAN_HOOKS -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Werror=thread-safety -m64 -c -o ScudoUnitTestsObjects.combined_test.cpp.x86_64.o /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
1.	<eof> parser at end of file
2.	Code generation
#0 0x00000000091d8c58 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 0x00000000091d5c05 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x00000000091377c6 HandleCrash /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:73:5
#3 0x00000000091377c6 CrashRecoverySignalHandler(int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:393:51
#4 0x0000793f643e1330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#5 0x0000793f6443ab2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#6 0x0000793f643e127e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#7 0x0000793f643c48ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#8 0x0000793f643c481b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
#9 0x0000793f643d7517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
#10 0x0000000008f20dfb (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang+++0x8f20dfb)
#11 0x000000000a33bf39 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:671:12
#12 0x000000000a33bf39 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:674:51
#13 0x000000000a33bf39 values /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:820:49
#14 0x000000000a33bf39 llvm::DIEBlock::emitValue(llvm::AsmPrinter const*, llvm::dwarf::Form) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/DIE.cpp:784:24
#15 0x000000000a32c467 asInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:41:5
#16 0x000000000a32c467 operator long /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:45:48
#17 0x000000000a32c467 getInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:96:57
#18 0x000000000a32c467 getNext /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:537:17
#19 0x000000000a32c467 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:660:14
#20 0x000000000a32c467 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/iterator.h:286:5
#21 0x000000000a32c467 llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp:279:22
#22 0x000000000a32c4b1 asInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:41:5
#23 0x000000000a32c4b1 operator long /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:45:48
#24 0x000000000a32c4b1 getInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:96:57
#25 0x000000000a32c4b1 getNext /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:537:17
#26 0x000000000a32c4b1 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:660:14
#27 0x000000000a32c4b1 llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp:296:28
#28 0x000000000a32c4b1 asInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:41:5
#29 0x000000000a32c4b1 operator long /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:45:48
#30 0x000000000a32c4b1 getInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:96:57
#31 0x000000000a32c4b1 getNext /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:537:17
#32 0x000000000a32c4b1 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:660:14
#33 0x000000000a32c4b1 llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp:296:28
#34 0x000000000a32c4b1 asInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:41:5
#35 0x000000000a32c4b1 operator long /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:45:48
#36 0x000000000a32c4b1 getInt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:96:57
#37 0x000000000a32c4b1 getNext /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:537:17
#38 0x000000000a32c4b1 operator++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/DIE.h:660:14
#39 0x000000000a32c4b1 llvm::AsmPrinter::emitDwarfDIE(llvm::DIE const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp:296:28
#40 0x000000000a38c0ae getEndLabel /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h:110:42
#41 0x000000000a38c0ae emitUnit /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp:52:34
#42 0x000000000a38c0ae llvm::DwarfFile::emitUnits(bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp:31:5
#43 0x000000000a355595 llvm::DwarfDebug::endModule() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1576:7
#44 0x000000000a31874a llvm::AsmPrinter::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:2963:22
#45 0x0000000008b5025a llvm::FPPassManager::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1462:13
#46 0x0000000008b49a5e runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1549:13
#47 0x0000000008b49a5e llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
#48 0x0000000009ae3673 RunCodegenPipeline /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1278:9
#49 0x0000000009ae3673 emitAssembly /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1301:3
#50 0x0000000009ae3673 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:1473:13
#51 0x0000000009af9ac4 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6
#52 0x0000000009af9ac4 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:312:3
#53 0x000000000b73cc39 __normal_iterator /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1077:20
#54 0x000000000b73cc39 begin /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:874:16
#55 0x000000000b73cc39 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
#56 0x000000000b73cc39 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:190:3
#57 0x000000000a03bb56 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1326:10
#58 0x0000000009fa0ecd getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
#59 0x0000000009fa0ecd operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
#60 0x0000000009fa0ecd clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1002:23
#61 0x000000000a130758 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
#62 0x000000000a130758 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
#63 0x000000000a130758 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
#64 0x000000000a130758 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:301:12
#65 0x000000000a130758 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:313:14
#66 0x00000000063a6fd9 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
#67 0x00000000063a2dd5 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
#68 0x00000000063a538d operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:0:12
#69 0x00000000063a538d 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
#70 0x0000000009e072c9 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:30
#71 0x0000000009e072c9 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
#72 0x00000000091374de operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12
#73 0x00000000091374de llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:437:3
#74 0x0000000009e06993 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
#75 0x0000000009dc420c 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
#76 0x0000000009dc4427 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
#77 0x0000000009de1628 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:83:46
#78 0x0000000009de1628 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:2330:23
#79 0x00000000063a25c5 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:419:21
#80 0x00000000063b324d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
#81 0x0000793f643c61ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#82 0x0000793f643c628b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#83 0x00000000063a0765 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang+++0x63a0765)
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 bdc1aa44a3e0333ac9b74c4b66ecc97ac19a0ede)
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/combined_test-506a28.cpp
clang++: note: diagnostic msg: /home/gha/actions-runner/_work/llvm-project/llvm-project/artifacts/reproducers/combined_test-506a28.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/184804


More information about the cfe-commits mailing list