[clang] [ObjCDirectPreconditionThunk] Adding a flag to with objc_direct symbols' prefix (PR #170616)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 13 01:27:57 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 2988 tests passed
* 30 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=4294967295] bin/clang-repl.exe</summary>
```
FAILED: [code=4294967295] bin/clang-repl.exe
cmd.exe /C "cd . && C:\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -E vs_link_exe --intdir=tools\clang\tools\clang-repl\CMakeFiles\clang-repl.dir --rc="C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\rc.exe" --mt="C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\mt.exe" --manifests -- C:\clang\clang-msvc\bin\lld-link.exe /nologo @CMakeFiles\clang-repl.rsp /out:bin\clang-repl.exe /implib:lib\clang-repl.lib /pdb:bin\clang-repl.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console /EXPORT:??_7type_info@@6B@,DATA /EXPORT:?__type_info_root_node@@3U__type_info_node@@A,DATA /EXPORT:?nothrow at std@@3Unothrow_t at 1@B,DATA /EXPORT:_Init_thread_abort /EXPORT:_Init_thread_epoch,DATA /EXPORT:_Init_thread_footer /EXPORT:_Init_thread_header /EXPORT:_tls_index,DATA /EXPORT:??2 at YAPEAX_K@Z /EXPORT:??3 at YAXPEAX@Z /EXPORT:??_U at YAPEAX_K@Z /EXPORT:??_V at YAXPEAX@Z /EXPORT:??3 at YAXPEAX_K@Z --long-plt && cd ."
LINK: command "C:\clang\clang-msvc\bin\lld-link.exe /nologo @CMakeFiles\clang-repl.rsp /out:bin\clang-repl.exe /implib:lib\clang-repl.lib /pdb:bin\clang-repl.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console /EXPORT:??_7type_info@@6B@,DATA /EXPORT:?__type_info_root_node@@3U__type_info_node@@A,DATA /EXPORT:?nothrow at std@@3Unothrow_t at 1@B,DATA /EXPORT:_Init_thread_abort /EXPORT:_Init_thread_epoch,DATA /EXPORT:_Init_thread_footer /EXPORT:_Init_thread_header /EXPORT:_tls_index,DATA /EXPORT:??2 at YAPEAX_K@Z /EXPORT:??3 at YAXPEAX@Z /EXPORT:??_U at YAPEAX_K@Z /EXPORT:??_V at YAXPEAX@Z /EXPORT:??3 at YAXPEAX_K@Z --long-plt" failed (exit code 1) with the following output:
lld-link: warning: ignoring unknown argument '--long-plt'
lld-link: error: undefined symbol: bool __cdecl clang::index::generateUSRForMacro(class llvm::StringRef, class clang::SourceLocation, class clang::SourceManager const &, class llvm::SmallVectorImpl<char> &)
>>> referenced by clangExtractAPI.lib(ExtractAPIConsumer.cpp.obj):(public: virtual void __cdecl `anonymous namespace'::MacroCallback::EndOfMainFile(void))
lld-link: error: undefined symbol: bool __cdecl clang::index::generateUSRForDecl(class clang::Decl const *, class llvm::SmallVectorImpl<char> &)
>>> referenced by clangExtractAPI.lib(ExtractAPIConsumer.cpp.obj):(public: bool __cdecl clang::RecursiveASTVisitor<struct `anonymous namespace'::BatchExtractAPIVisitor>::TraverseObjCProtocolDecl(class clang::ObjCProtocolDecl *))
>>> referenced by clangExtractAPI.lib(ExtractAPIConsumer.cpp.obj):(public: bool __cdecl clang::RecursiveASTVisitor<struct `anonymous namespace'::BatchExtractAPIVisitor>::TraverseObjCInterfaceDecl(class clang::ObjCInterfaceDecl *))
>>> referenced by clangExtractAPI.lib(ExtractAPIConsumer.cpp.obj):(public: bool __cdecl clang::RecursiveASTVisitor<struct `anonymous namespace'::BatchExtractAPIVisitor>::TraverseObjCCategoryDecl(class clang::ObjCCategoryDecl *))
>>> referenced 74 more times
lld-link: error: undefined symbol: bool __cdecl clang::index::generateUSRForType(class clang::QualType, class clang::ASTContext &, class llvm::SmallVectorImpl<char> &)
>>> referenced by clangExtractAPI.lib(DeclarationFragments.cpp.obj):(private: static class clang::extractapi::DeclarationFragments __cdecl clang::extractapi::DeclarationFragmentsBuilder::getFragmentsForType(class clang::Type const *, class clang::ASTContext &, class clang::extractapi::DeclarationFragments &))
>>> referenced by clangExtractAPI.lib(TypedefUnderlyingTypeResolver.cpp.obj):(public: struct clang::extractapi::SymbolReference __cdecl clang::extractapi::TypedefUnderlyingTypeResolver::getSymbolReferenceForType(class clang::QualType, class clang::extractapi::APISet &) const)
>>> referenced by clangExtractAPI.lib(TypedefUnderlyingTypeResolver.cpp.obj):(public: class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl clang::extractapi::TypedefUnderlyingTypeResolver::getUSRForType(class clang::QualType) const)
```
</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/170616
More information about the cfe-commits
mailing list