[all-commits] [llvm/llvm-project] cb248f: [LLD] [COFF] Don't crash on an empty -entry: argum...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Mon Jun 24 10:03:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb248f8c2a79fbddfdfed0039390e49512410a80
      https://github.com/llvm/llvm-project/commit/cb248f8c2a79fbddfdfed0039390e49512410a80
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M lld/COFF/Driver.cpp
    A lld/test/COFF/invalid-entry.s

  Log Message:
  -----------
  [LLD] [COFF] Don't crash on an empty -entry: argument (#96058)

We can't pass an empty string to addUndefined().

This fixes the crash that was encountered in
https://github.com/llvm/llvm-project/issues/93309 (turning the crash
into a properly handled error; making it do the right thing is handled
in https://github.com/llvm/llvm-project/pull/96055).



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