[all-commits] [llvm/llvm-project] 267a57: [llvm-link] Fix for an assertion when linking glob...

Sergey Dmitriev via All-commits all-commits at lists.llvm.org
Sat Jan 23 00:31:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 267a57a64572cffbb74599878bdcc9f3b678ffa3
      https://github.com/llvm/llvm-project/commit/267a57a64572cffbb74599878bdcc9f3b678ffa3
  Author: Sergey Dmitriev <serguei.n.dmitriev at intel.com>
  Date:   2021-01-23 (Sat, 23 Jan 2021)

  Changed paths:
    M llvm/lib/Linker/IRMover.cpp
    M llvm/lib/Linker/LinkModules.cpp
    A llvm/test/Linker/Inputs/appending-global.ll
    A llvm/test/Linker/appending-global-err1.ll
    A llvm/test/Linker/appending-global-err2.ll
    A llvm/test/Linker/appending-global-err3.ll
    A llvm/test/Linker/appending-global-err4.ll
    A llvm/test/Linker/appending-global-err5.ll
    A llvm/test/Linker/appending-global-proto.ll

  Log Message:
  -----------
  [llvm-link] Fix for an assertion when linking global with appending linkage

This patch fixes llvm-link assertion when linking external variable
declaration with a definition with appending linkage.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D95126




More information about the All-commits mailing list