[all-commits] [llvm/llvm-project] c7bca4: [ELF] Fix crash when an input is incompatible with...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Feb 5 23:42:11 PST 2022


  Branch: refs/heads/release/14.x
  Home:   https://github.com/llvm/llvm-project
  Commit: c7bca45103e360ed9cb695d3db519f0639c898d3
      https://github.com/llvm/llvm-project/commit/c7bca45103e360ed9cb695d3db519f0639c898d3
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-02-05 (Sat, 05 Feb 2022)

  Changed paths:
    M lld/ELF/InputFiles.cpp
    M lld/test/ELF/incompatible-ar-first.s

  Log Message:
  -----------
  [ELF] Fix crash when an input is incompatible with a lazy object file

The diagnostic is concise. It is ok because the case is rare.

(cherry picked from commit bad1b7fbb0fec532f097ac59805562020f895962)




More information about the All-commits mailing list