[all-commits] [llvm/llvm-project] 0bc845: Return an error when dsymutil might produce an inv...

Greg Clayton via All-commits all-commits at lists.llvm.org
Fri Mar 11 10:00:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0bc845fe24ce9557d4e0f723de5be2322ea6e547
      https://github.com/llvm/llvm-project/commit/0bc845fe24ce9557d4e0f723de5be2322ea6e547
  Author: Greg Clayton <gclayton at fb.com>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M llvm/tools/dsymutil/MachOUtils.cpp
    M llvm/tools/dsymutil/dsymutil.cpp

  Log Message:
  -----------
  Return an error when dsymutil might produce an invalid mach-o file.

64 bit mach-o files have sections that only have 32 bit file offsets. If dsymutil tries to produce an invalid mach-o file, then error out with a good error string.

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




More information about the All-commits mailing list