[all-commits] [llvm/llvm-project] 353068: [ELF] Fix llvm_unreachable failure when COMMON is ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Apr 5 23:18:57 PDT 2022


  Branch: refs/heads/release/14.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 353068233f21bd8b904da854072e85114c566562
      https://github.com/llvm/llvm-project/commit/353068233f21bd8b904da854072e85114c566562
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

  Changed paths:
    M lld/ELF/SyntheticSections.h
    M lld/test/ELF/linkerscript/common.s

  Log Message:
  -----------
  [ELF] Fix llvm_unreachable failure when COMMON is placed in SHT_PROGBITS output section

Fix a regression in aa27bab5a1a17e9c4168a741a6298ecaa92c1ecb: COMMON in an
SHT_PROGBITS output section caused llvm_unreachable failure.

(cherry picked from commit 1db59dc8e28819b1960dae8e7fe6d79ad4b03340)




More information about the All-commits mailing list