[clang] [llvm] [NFC] isOSGlibc: musl is not glibc. (PR #171734)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 10 16:06:57 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 128545 tests passed
* 2805 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.
<details>
<summary>[code=1] compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors.cpp.obj</summary>
```
FAILED: [code=1] compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors.cpp.obj
C:\_work\llvm-project\llvm-project\build\.\bin\clang-cl.exe --target=x86_64-pc-windows-msvc /nologo -TP -DASAN_DYNAMIC=1 -DINTERCEPTION_DYNAMIC_CRT -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\_work\llvm-project\llvm-project\compiler-rt\lib\asan\.. /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /W4 -Wno-unused-parameter /O2 /Ob2 -MD -fno-builtin -fno-sanitize=safe-stack -fno-lto /Oy- /GS- /Zc:threadSafeInit- -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta /Z7 -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions /wd4146 /wd4291 /wd4391 /wd4722 /wd4800 -ftrivial-auto-var-init=pattern /hotpatch /Zl /GR- /experimental:external /external:W0 /external:anglebrackets -Wno-format -std:c++17 /showIncludes /Focompiler-rt\lib\asan\CMakeFiles\RTAsan_dynamic.x86_64.dir\asan_interceptors.cpp.obj /Fdcompiler-rt\lib\asan\CMakeFiles\RTAsan_dynamic.x86_64.dir\ -c -- C:\_work\llvm-project\llvm-project\compiler-rt\lib\asan\asan_interceptors.cpp
clang-cl: warning: argument unused during compilation: '/experimental:external' [-Wunused-command-line-argument]
clang-cl: warning: argument unused during compilation: '/external:anglebrackets' [-Wunused-command-line-argument]
Assertion failed: DbgOps.size() == Prop.getLocationOpCount(), file C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\LiveDebugValues\InstrRefBasedImpl.h, line 545
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: C:\\_work\\llvm-project\\llvm-project\\build\\.\\bin\\clang-cl.exe --target=x86_64-pc-windows-msvc /nologo -TP -DASAN_DYNAMIC=1 -DINTERCEPTION_DYNAMIC_CRT -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\\_work\\llvm-project\\llvm-project\\compiler-rt\\lib\\asan\\.. /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /W4 -Wno-unused-parameter /O2 /Ob2 -MD -fno-builtin -fno-sanitize=safe-stack -fno-lto /Oy- /GS- /Zc:threadSafeInit- -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta /Z7 -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions /wd4146 /wd4291 /wd4391 /wd4722 /wd4800 -ftrivial-auto-var-init=pattern /hotpatch /Zl /GR- /experimental:external /external:W0 /external:anglebrackets -Wno-format -std:c++17 /showIncludes /Focompiler-rt\\lib\\asan\\CMakeFiles\\RTAsan_dynamic.x86_64.dir\\asan_interceptors.cpp.obj /Fdcompiler-rt\\lib\\asan\\CMakeFiles\\RTAsan_dynamic.x86_64.dir\\ -c -- C:\\_work\\llvm-project\\llvm-project\\compiler-rt\\lib\\asan\\asan_interceptors.cpp
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'C:\_work\llvm-project\llvm-project\compiler-rt\lib\asan\asan_interceptors.cpp'.
4. Running pass 'Live DEBUG_VALUE analysis' on function '@__asan_wrap_strtok'
Exception Code: 0xC000001D
#0 0x00007ff60fb04dc6 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x7e4dc6)
#1 0x00007ffda27cbb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
#2 0x00007ffda27ccad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
#3 0x00007ffda27ce4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
#4 0x00007ffda27ce6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
#5 0x00007ff6131587b9 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x3e387b9)
#6 0x00007ff6131362b1 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x3e162b1)
#7 0x00007ff613137e9a (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x3e17e9a)
#8 0x00007ff613150ae2 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x3e30ae2)
#9 0x00007ff61084808c (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x152808c)
#10 0x00007ff60fe56c83 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0xb36c83)
#11 0x00007ff60f8c1f12 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x5a1f12)
#12 0x00007ff60f8cae1d (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x5aae1d)
#13 0x00007ff60f8c2bf1 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x5a2bf1)
#14 0x00007ff611a9f105 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x277f105)
#15 0x00007ff61201c7bc (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x2cfc7bc)
#16 0x00007ff614aebe77 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x57cbe77)
#17 0x00007ff611f67f8f (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x2c47f8f)
#18 0x00007ff60fc3f0d4 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x91f0d4)
#19 0x00007ff60fce3543 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x9c3543)
#20 0x00007ff60f329245 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x9245)
#21 0x00007ff60f324774 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x4774)
#22 0x00007ff60f3277ab (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x77ab)
#23 0x00007ff611d69c4d (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x2a49c4d)
#24 0x00007ff60fb005a5 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x7e05a5)
#25 0x00007ff611d6948b (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x2a4948b)
#26 0x00007ff60fc24fdf (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x904fdf)
#27 0x00007ff60fc2528d (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x90528d)
#28 0x00007ff60fc01a8c (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x8e1a8c)
#29 0x00007ff60f323a9a (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x3a9a)
#30 0x00007ff60f338ca7 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x18ca7)
#31 0x00007ff6163dea64 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x70bea64)
#32 0x00007ffda8054cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
#33 0x00007ffdb3ddedcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
clang-cl: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 22.0.0git (https://github.com/llvm/llvm-project f5a2d864913ee6c3191dec78ae6be936c6978883)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\_work\llvm-project\llvm-project\build\bin
Build config: +assertions
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: C:\Users\ContainerAdministrator\AppData\Local\Temp\asan_interceptors-ff2a62.cpp
clang-cl: note: diagnostic msg: C:\Users\ContainerAdministrator\AppData\Local\Temp\asan_interceptors-ff2a62.sh
clang-cl: note: diagnostic msg:
********************
```
</details>
<details>
<summary>[code=1] compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors.cpp.obj</summary>
```
FAILED: [code=1] compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors.cpp.obj
C:\_work\llvm-project\llvm-project\build\.\bin\clang-cl.exe --target=x86_64-pc-windows-msvc /nologo -TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\_work\llvm-project\llvm-project\compiler-rt\lib\asan\.. /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /W4 -Wno-unused-parameter /O2 /Ob2 -MD -fno-builtin -fno-sanitize=safe-stack -fno-lto /Oy- /GS- /Zc:threadSafeInit- -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta /Z7 -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions /wd4146 /wd4291 /wd4391 /wd4722 /wd4800 -ftrivial-auto-var-init=pattern /hotpatch /Zl /GR- /experimental:external /external:W0 /external:anglebrackets -Wno-format -std:c++17 /showIncludes /Focompiler-rt\lib\asan\CMakeFiles\RTAsan.x86_64.dir\asan_interceptors.cpp.obj /Fdcompiler-rt\lib\asan\CMakeFiles\RTAsan.x86_64.dir\ -c -- C:\_work\llvm-project\llvm-project\compiler-rt\lib\asan\asan_interceptors.cpp
clang-cl: warning: argument unused during compilation: '/experimental:external' [-Wunused-command-line-argument]
clang-cl: warning: argument unused during compilation: '/external:anglebrackets' [-Wunused-command-line-argument]
Assertion failed: DbgOps.size() == Prop.getLocationOpCount(), file C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\LiveDebugValues\InstrRefBasedImpl.h, line 545
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: C:\\_work\\llvm-project\\llvm-project\\build\\.\\bin\\clang-cl.exe --target=x86_64-pc-windows-msvc /nologo -TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\\_work\\llvm-project\\llvm-project\\compiler-rt\\lib\\asan\\.. /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /W4 -Wno-unused-parameter /O2 /Ob2 -MD -fno-builtin -fno-sanitize=safe-stack -fno-lto /Oy- /GS- /Zc:threadSafeInit- -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta /Z7 -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions /wd4146 /wd4291 /wd4391 /wd4722 /wd4800 -ftrivial-auto-var-init=pattern /hotpatch /Zl /GR- /experimental:external /external:W0 /external:anglebrackets -Wno-format -std:c++17 /showIncludes /Focompiler-rt\\lib\\asan\\CMakeFiles\\RTAsan.x86_64.dir\\asan_interceptors.cpp.obj /Fdcompiler-rt\\lib\\asan\\CMakeFiles\\RTAsan.x86_64.dir\\ -c -- C:\\_work\\llvm-project\\llvm-project\\compiler-rt\\lib\\asan\\asan_interceptors.cpp
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'C:\_work\llvm-project\llvm-project\compiler-rt\lib\asan\asan_interceptors.cpp'.
4. Running pass 'Live DEBUG_VALUE analysis' on function '@__asan_wrap_strtok'
Exception Code: 0xC000001D
#0 0x00007ff60fb04dc6 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x7e4dc6)
#1 0x00007ffda27cbb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
#2 0x00007ffda27ccad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
#3 0x00007ffda27ce4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
#4 0x00007ffda27ce6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
#5 0x00007ff6131587b9 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x3e387b9)
#6 0x00007ff6131362b1 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x3e162b1)
#7 0x00007ff613137e9a (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x3e17e9a)
#8 0x00007ff613150ae2 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x3e30ae2)
#9 0x00007ff61084808c (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x152808c)
#10 0x00007ff60fe56c83 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0xb36c83)
#11 0x00007ff60f8c1f12 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x5a1f12)
#12 0x00007ff60f8cae1d (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x5aae1d)
#13 0x00007ff60f8c2bf1 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x5a2bf1)
#14 0x00007ff611a9f105 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x277f105)
#15 0x00007ff61201c7bc (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x2cfc7bc)
#16 0x00007ff614aebe77 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x57cbe77)
#17 0x00007ff611f67f8f (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x2c47f8f)
#18 0x00007ff60fc3f0d4 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x91f0d4)
#19 0x00007ff60fce3543 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x9c3543)
#20 0x00007ff60f329245 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x9245)
#21 0x00007ff60f324774 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x4774)
#22 0x00007ff60f3277ab (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x77ab)
#23 0x00007ff611d69c4d (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x2a49c4d)
#24 0x00007ff60fb005a5 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x7e05a5)
#25 0x00007ff611d6948b (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x2a4948b)
#26 0x00007ff60fc24fdf (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x904fdf)
#27 0x00007ff60fc2528d (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x90528d)
#28 0x00007ff60fc01a8c (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x8e1a8c)
#29 0x00007ff60f323a9a (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x3a9a)
#30 0x00007ff60f338ca7 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x18ca7)
#31 0x00007ff6163dea64 (C:\_work\llvm-project\llvm-project\build\bin\clang-cl.exe+0x70bea64)
#32 0x00007ffda8054cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
#33 0x00007ffdb3ddedcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
clang-cl: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 22.0.0git (https://github.com/llvm/llvm-project f5a2d864913ee6c3191dec78ae6be936c6978883)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\_work\llvm-project\llvm-project\build\bin
Build config: +assertions
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: C:\Users\ContainerAdministrator\AppData\Local\Temp\asan_interceptors-7b6388.cpp
clang-cl: note: diagnostic msg: C:\Users\ContainerAdministrator\AppData\Local\Temp\asan_interceptors-7b6388.sh
clang-cl: note: diagnostic msg:
********************
```
</details>
<details>
<summary>[code=1] compiler-rt/lib/interception/tests/INTERCEPTION_TEST_OBJECTS.gtest-all.cc.x86_64.o</summary>
```
FAILED: [code=1] compiler-rt/lib/interception/tests/INTERCEPTION_TEST_OBJECTS.gtest-all.cc.x86_64.o
cmd.exe /C "cd /D C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\lib\interception\tests && C:\_work\llvm-project\llvm-project\build\.\bin\clang++.exe -DWIN32 -D_WINDOWS -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -IC:/_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 -IC:/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest/include -IC:/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest -Wno-deprecated-declarations -IC:/_work/llvm-project/llvm-project/compiler-rt/include -IC:/_work/llvm-project/llvm-project/compiler-rt/lib -IC:/_work/llvm-project/llvm-project/compiler-rt/lib/interception -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -fno-builtin-isdigit -fno-builtin-isalpha -fno-builtin-isalnum -fno-builtin-islower -O2 -Werror=sign-compare -gline-tables-only -gcodeview -c -o INTERCEPTION_TEST_OBJECTS.gtest-all.cc.x86_64.o C:/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest-all.cc"
Assertion failed: DbgOps.size() == Prop.getLocationOpCount(), file C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\LiveDebugValues\InstrRefBasedImpl.h, line 545
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: C:\\_work\\llvm-project\\llvm-project\\build\\.\\bin\\clang++.exe -DWIN32 -D_WINDOWS -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -IC:/_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 -IC:/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest/include -IC:/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest -Wno-deprecated-declarations -IC:/_work/llvm-project/llvm-project/compiler-rt/include -IC:/_work/llvm-project/llvm-project/compiler-rt/lib -IC:/_work/llvm-project/llvm-project/compiler-rt/lib/interception -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -fno-builtin-isdigit -fno-builtin-isalpha -fno-builtin-isalnum -fno-builtin-islower -O2 -Werror=sign-compare -gline-tables-only -gcodeview -c -o INTERCEPTION_TEST_OBJECTS.gtest-all.cc.x86_64.o C:/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest-all.cc
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'C:/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest-all.cc'.
4. Running pass 'Live DEBUG_VALUE analysis' on function '@"?CalculateRootLength at FilePath@internal at testing@@AEBA_KXZ"'
Exception Code: 0xC000001D
#0 0x00007ff776f84dc6 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x7e4dc6)
#1 0x00007ffda27cbb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
#2 0x00007ffda27ccad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
#3 0x00007ffda27ce4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
#4 0x00007ffda27ce6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
#5 0x00007ff77a5d87b9 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x3e387b9)
#6 0x00007ff77a5b62b1 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x3e162b1)
#7 0x00007ff77a5b7e9a (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x3e17e9a)
#8 0x00007ff77a5d0ae2 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x3e30ae2)
#9 0x00007ff777cc808c (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x152808c)
#10 0x00007ff7772d6c83 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0xb36c83)
#11 0x00007ff776d41f12 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x5a1f12)
#12 0x00007ff776d4ae1d (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x5aae1d)
#13 0x00007ff776d42bf1 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x5a2bf1)
#14 0x00007ff778f1f105 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x277f105)
#15 0x00007ff77949c7bc (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x2cfc7bc)
#16 0x00007ff77bf6be77 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x57cbe77)
#17 0x00007ff7793e7f8f (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x2c47f8f)
#18 0x00007ff7770bf0d4 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x91f0d4)
#19 0x00007ff777163543 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x9c3543)
#20 0x00007ff7767a9245 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x9245)
#21 0x00007ff7767a4774 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x4774)
#22 0x00007ff7767a77ab (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x77ab)
#23 0x00007ff7791e9c4d (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x2a49c4d)
#24 0x00007ff776f805a5 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x7e05a5)
#25 0x00007ff7791e948b (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x2a4948b)
#26 0x00007ff7770a4fdf (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x904fdf)
#27 0x00007ff7770a528d (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x90528d)
#28 0x00007ff777081a8c (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x8e1a8c)
#29 0x00007ff7767a3a9a (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x3a9a)
#30 0x00007ff7767b8ca7 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x18ca7)
#31 0x00007ff77d85ea64 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x70bea64)
#32 0x00007ffda8054cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
#33 0x00007ffdb3ddedcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 22.0.0git (https://github.com/llvm/llvm-project f5a2d864913ee6c3191dec78ae6be936c6978883)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\_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: C:\Users\ContainerAdministrator\AppData\Local\Temp\gtest-all-2bced2.cpp
clang++: note: diagnostic msg: C:\Users\ContainerAdministrator\AppData\Local\Temp\gtest-all-2bced2.sh
clang++: note: diagnostic msg:
********************
```
</details>
<details>
<summary>[code=1] compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.gtest-all.cc.x86_64.o</summary>
```
FAILED: [code=1] compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.gtest-all.cc.x86_64.o
cmd.exe /C "cd /D C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\lib\sanitizer_common\tests && C:\_work\llvm-project\llvm-project\build\.\bin\clang++.exe -DWIN32 -D_WINDOWS -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -IC:/_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 -IC:/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest/include -IC:/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest -Wno-deprecated-declarations -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -IC:/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googlemock/include -IC:/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googlemock -IC:/_work/llvm-project/llvm-project/compiler-rt/include -IC:/_work/llvm-project/llvm-project/compiler-rt/lib -IC:/_work/llvm-project/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -gcodeview -c -o SANITIZER_TEST_OBJECTS.gtest-all.cc.x86_64.o C:/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest-all.cc"
Assertion failed: DbgOps.size() == Prop.getLocationOpCount(), file C:\_work\llvm-project\llvm-project\llvm\lib\CodeGen\LiveDebugValues\InstrRefBasedImpl.h, line 545
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: C:\\_work\\llvm-project\\llvm-project\\build\\.\\bin\\clang++.exe -DWIN32 -D_WINDOWS -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -IC:/_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 -IC:/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest/include -IC:/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googletest -Wno-deprecated-declarations -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -IC:/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googlemock/include -IC:/_work/llvm-project/llvm-project/runtimes/../third-party/unittest/googlemock -IC:/_work/llvm-project/llvm-project/compiler-rt/include -IC:/_work/llvm-project/llvm-project/compiler-rt/lib -IC:/_work/llvm-project/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -gcodeview -c -o SANITIZER_TEST_OBJECTS.gtest-all.cc.x86_64.o C:/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest-all.cc
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'C:/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest-all.cc'.
4. Running pass 'Live DEBUG_VALUE analysis' on function '@"?CalculateRootLength at FilePath@internal at testing@@AEBA_KXZ"'
Exception Code: 0xC000001D
#0 0x00007ff776f84dc6 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x7e4dc6)
#1 0x00007ffda27cbb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
#2 0x00007ffda27ccad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
#3 0x00007ffda27ce4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
#4 0x00007ffda27ce6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
#5 0x00007ff77a5d87b9 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x3e387b9)
#6 0x00007ff77a5b62b1 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x3e162b1)
#7 0x00007ff77a5b7e9a (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x3e17e9a)
#8 0x00007ff77a5d0ae2 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x3e30ae2)
#9 0x00007ff777cc808c (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x152808c)
#10 0x00007ff7772d6c83 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0xb36c83)
#11 0x00007ff776d41f12 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x5a1f12)
#12 0x00007ff776d4ae1d (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x5aae1d)
#13 0x00007ff776d42bf1 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x5a2bf1)
#14 0x00007ff778f1f105 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x277f105)
#15 0x00007ff77949c7bc (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x2cfc7bc)
#16 0x00007ff77bf6be77 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x57cbe77)
#17 0x00007ff7793e7f8f (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x2c47f8f)
#18 0x00007ff7770bf0d4 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x91f0d4)
#19 0x00007ff777163543 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x9c3543)
#20 0x00007ff7767a9245 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x9245)
#21 0x00007ff7767a4774 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x4774)
#22 0x00007ff7767a77ab (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x77ab)
#23 0x00007ff7791e9c4d (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x2a49c4d)
#24 0x00007ff776f805a5 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x7e05a5)
#25 0x00007ff7791e948b (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x2a4948b)
#26 0x00007ff7770a4fdf (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x904fdf)
#27 0x00007ff7770a528d (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x90528d)
#28 0x00007ff777081a8c (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x8e1a8c)
#29 0x00007ff7767a3a9a (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x3a9a)
#30 0x00007ff7767b8ca7 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x18ca7)
#31 0x00007ff77d85ea64 (C:\_work\llvm-project\llvm-project\build\bin\clang++.exe+0x70bea64)
#32 0x00007ffda8054cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
#33 0x00007ffdb3ddedcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 22.0.0git (https://github.com/llvm/llvm-project f5a2d864913ee6c3191dec78ae6be936c6978883)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\_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: C:\Users\ContainerAdministrator\AppData\Local\Temp\gtest-all-a4c900.cpp
clang++: note: diagnostic msg: C:\Users\ContainerAdministrator\AppData\Local\Temp\gtest-all-a4c900.sh
clang++: note: diagnostic msg:
********************
```
</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/171734
More information about the llvm-commits
mailing list