[all-commits] [llvm/llvm-project] 8449a8: [clang-sycl-linker] Add static archive (.a) suppor...
Alexey Bader via All-commits
all-commits at lists.llvm.org
Thu Jun 11 14:39:39 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8449a84b770b0ae15eb6b7595ea93c93323e6ac2
https://github.com/llvm/llvm-project/commit/8449a84b770b0ae15eb6b7595ea93c93323e6ac2
Author: Alexey Bader <alexey.bader at intel.com>
Date: 2026-06-11 (Thu, 11 Jun 2026)
Changed paths:
M clang/docs/ClangSYCLLinker.rst
A clang/test/OffloadTools/clang-sycl-linker/archive-extras.ll
M clang/test/OffloadTools/clang-sycl-linker/basic.ll
M clang/test/OffloadTools/clang-sycl-linker/link.ll
M clang/test/OffloadTools/clang-sycl-linker/split-mode.ll
M clang/test/OffloadTools/clang-sycl-linker/triple.ll
A clang/test/OffloadTools/clang-sycl-linker/weak-symbols.ll
M clang/tools/clang-sycl-linker/CMakeLists.txt
M clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp
M clang/tools/clang-sycl-linker/SYCLLinkOpts.td
Log Message:
-----------
[clang-sycl-linker] Add static archive (.a) support (#202829)
Add support for static archives of LLVM bitcode files to
clang-sycl-linker. The archive member-selection engine (a symbol-driven
fixed-point lazy extraction loop) is simplified to bitcode-only
handling.
clang-sycl-linker gains -l/--library,
--whole-archive/--no-whole-archive, and -u/--undefined options. The
previous --bc-library option is removed in favor of the standard -l
mechanism. Inputs (positional files and -l libraries) are now resolved
to in-memory buffers; archive members are pulled in lazily only when
they resolve undefined symbols, and bitcode is loaded with
parseBitcodeFile.
Co-Authored-By: Claude
---------
Co-authored-by: Yury Plyakhin <yury.plyakhin at intel.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list