[all-commits] [llvm/llvm-project] 5b8274: [lld][ELF] Error when deplibs adds new input file ...

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Fri Jul 12 12:44:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b82741a011c1b080ab03dbf70b808bab3813ea9
      https://github.com/llvm/llvm-project/commit/5b82741a011c1b080ab03dbf70b808bab3813ea9
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2024-07-12 (Fri, 12 Jul 2024)

  Changed paths:
    M lld/ELF/Driver.cpp
    A lld/test/ELF/deplibs-lto.s

  Log Message:
  -----------
  [lld][ELF] Error when deplibs adds new input file after LTO (#98565)

Parsing the new input file's symbols might invalidate LTO codegen, but
the semantics of deplibs require them to be parsed. Accordingly, report
an error unless the file had already been added to the link.

Fixes #56070



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