[all-commits] [llvm/llvm-project] ff6ab7: [llvm-c][lto] Add lto_runtime_lib_symbols_list_for...

Francesco Petrogalli via All-commits all-commits at lists.llvm.org
Wed Sep 9 06:26:35 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff6ab759dbfd69a7b8138ed782f09dc979bad72e
      https://github.com/llvm/llvm-project/commit/ff6ab759dbfd69a7b8138ed782f09dc979bad72e
  Author: Francesco Petrogalli <francesco.petrogalli at apple.com>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    M llvm/include/llvm-c/lto.h
    M llvm/tools/lto/lto.cpp
    M llvm/tools/lto/lto.exports

  Log Message:
  -----------
  [llvm-c][lto] Add lto_runtime_lib_symbols_list_for_triple (#221217)

The TableGen-generated `setTargetRuntimeLibcallSets` that is reached via
`getRuntimeLibcallSymbols` has no unconditional block — every branch is
arch-gated and returns, so an unknown triple sets nothing available, and
the list of symbols comes back empty.

This patch adds a second entry point to the C LTO API that takes a
triple and passes it along.

Bump `LTO_API_VERSION`.



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