[clang] [clang-sycl-linker] Generate SymbolTable for each image (PR #161287)
Yury Plyakhin via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 30 07:56:38 PDT 2025
================
@@ -486,6 +492,22 @@ Error runSYCLLink(ArrayRef<std::string> Files, const ArgList &Args) {
SmallVector<std::string> SplitModules;
SplitModules.emplace_back(*LinkedFile);
+ // Generate symbol table.
+ SmallVector<std::string> SymbolTable;
+ for (size_t I = 0, E = SplitModules.size(); I != E; ++I) {
+ Expected<std::unique_ptr<Module>> ModOrErr =
+ getBitcodeModule(SplitModules[I], C);
----------------
YuriPlyakhin wrote:
We use `getLazyIRFileModule` inside `getBitcodeModule`, is that what you mean?
https://github.com/llvm/llvm-project/pull/161287
More information about the cfe-commits
mailing list