[all-commits] [llvm/llvm-project] 48545a: [ThinLTO] Do not duplicate import a function that ...

William Junda Huang via All-commits all-commits at lists.llvm.org
Thu Oct 10 15:00:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48545a955c4e61f42833af7417032d816482bdfc
      https://github.com/llvm/llvm-project/commit/48545a955c4e61f42833af7417032d816482bdfc
  Author: William Junda Huang <williamjhuang at google.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M llvm/lib/Linker/IRMover.cpp
    A llvm/test/ThinLTO/X86/Inputs/ditemplatevalueparameter-remap.ll
    A llvm/test/ThinLTO/X86/ditemplatevalueparameter-remap.ll

  Log Message:
  -----------
  [ThinLTO] Do not duplicate import a function that is actually defined in the current module (#110064)

Doing so could cause a bug where the linker tries to remap a function
"reimported" from the current module when materializing it, causing a
lookup assert in the type mappings.



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