[compiler-rt] [sanitizer_common] Library load interceptor does not need to be called for RTLD_NOLOAD (PR #190102)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 1 21:16:54 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
The build failed before running any tests. 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_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -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 -wd4146 -wd4244 -wd4267 -wd4456 -wd4457 -wd4458 -wd4459 -wd4624 -wd4100 -wd4127 -wd4505 -wd4702 -wd4245 -wd4310 -wd4701 -wd4703 -wd4389 -wd4805 -wd4577 -wd4319 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw -Xclang -fno-pch-timestamp /W4 -Wno-unused-parameter /O2 /Ob2 -std:c++17 -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 /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]
In file included from C:\_work\llvm-project\llvm-project\compiler-rt\lib\asan\asan_interceptors.cpp:271:
C:\_work\llvm-project\llvm-project\compiler-rt\lib\asan\..\sanitizer_common/sanitizer_common_interceptors.inc(36,10): fatal error: 'dlfcn.h' file not found
36 | #include <dlfcn.h>
| ^~~~~~~~~
1 error generated.
```
</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_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -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 -wd4146 -wd4244 -wd4267 -wd4456 -wd4457 -wd4458 -wd4459 -wd4624 -wd4100 -wd4127 -wd4505 -wd4702 -wd4245 -wd4310 -wd4701 -wd4703 -wd4389 -wd4805 -wd4577 -wd4319 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw -Xclang -fno-pch-timestamp /W4 -Wno-unused-parameter /O2 /Ob2 -std:c++17 -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 /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]
In file included from C:\_work\llvm-project\llvm-project\compiler-rt\lib\asan\asan_interceptors.cpp:271:
C:\_work\llvm-project\llvm-project\compiler-rt\lib\asan\..\sanitizer_common/sanitizer_common_interceptors.inc(36,10): fatal error: 'dlfcn.h' file not found
36 | #include <dlfcn.h>
| ^~~~~~~~~
1 error generated.
```
</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/190102
More information about the llvm-commits
mailing list