[all-commits] [llvm/llvm-project] dc9477: [ELF] Don't cause assertion failure if --dynamic-l...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Jun 16 22:33:02 PDT 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: dc94773a91c85a05f4f249153cb1e9522b3beb5e
      https://github.com/llvm/llvm-project/commit/dc94773a91c85a05f4f249153cb1e9522b3beb5e
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M lld/ELF/ScriptLexer.cpp
    M lld/test/ELF/invalid-dynamic-list.test
    M lld/test/ELF/version-script-err.s

  Log Message:
  -----------
  [ELF] Don't cause assertion failure if --dynamic-list or --version-script takes an empty file

Fixes PR46184
Report line 1 of the last memory buffer.

(cherry picked from commit ac6abc99e2794e4674a8498f817fda19b176bbfe)




More information about the All-commits mailing list