[all-commits] [llvm/llvm-project] a93eb1: [LTO][Legacy] Add new C APIs to query undefined sy...

Steven Wu via All-commits all-commits at lists.llvm.org
Tue Jun 24 15:01:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a93eb14e858819696386166082845cde13cd5eee
      https://github.com/llvm/llvm-project/commit/a93eb14e858819696386166082845cde13cd5eee
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

  Changed paths:
    M llvm/include/llvm-c/lto.h
    M llvm/include/llvm/LTO/legacy/LTOModule.h
    A llvm/test/LTO/AArch64/module-asm.ll
    M llvm/tools/llvm-lto/llvm-lto.cpp
    M llvm/tools/lto/lto.cpp
    M llvm/tools/lto/lto.exports

  Log Message:
  -----------
  [LTO][Legacy] Add new C APIs to query undefined symbols in assembly (#145413)

Add new APIs to legacy LTO C API to surface undefined symbols that
parsed from assembly. This information is needed by thin LTO to figure
out the symbols not to dead strip, while such information is
automatically forwarded in full LTO already. Linker needs to fetch the
information and adds the undefs from assembly to MustPreserveSymbols
list just like treating undefs from a non-LTO object file.

Resolves: https://github.com/llvm/llvm-project/issues/29340



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