[all-commits] [llvm/llvm-project] 2d8cf2: [lld-macho] Fix crash on invalid framework tbd

Keith Smiley via All-commits all-commits at lists.llvm.org
Fri Apr 22 10:27:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d8cf26d0870a571395b61f23b4c57b9b05f39ed
      https://github.com/llvm/llvm-project/commit/2d8cf26d0870a571395b61f23b4c57b9b05f39ed
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2022-04-22 (Fri, 22 Apr 2022)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/test/MachO/invalid/invalid-stub.s

  Log Message:
  -----------
  [lld-macho] Fix crash on invalid framework tbd

Previously these would crash because `file` is null in the case there is
an invalid tbd file.

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




More information about the All-commits mailing list