[all-commits] [llvm/llvm-project] aab488: [dsymutil] Compute the output location once per in...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon May 24 16:30:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aab488ac2a56d5829c6d51471987e5c630951074
      https://github.com/llvm/llvm-project/commit/aab488ac2a56d5829c6d51471987e5c630951074
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-05-24 (Mon, 24 May 2021)

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

  Log Message:
  -----------
  [dsymutil] Compute the output location once per input file (NFC)

Compute the location of the output file just once outside the loop over
the different architectures.


  Commit: 7bf7b80b1958944f449960325f9a5e446f8d1d22
      https://github.com/llvm/llvm-project/commit/7bf7b80b1958944f449960325f9a5e446f8d1d22
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-05-24 (Mon, 24 May 2021)

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

  Log Message:
  -----------
  [dsymutil] Use EXIT_SUCCESS and EXIT_FAILURE (NFC)


  Commit: 1ec03f3de5d580d85cc256058cc0d2dd254b9e1a
      https://github.com/llvm/llvm-project/commit/1ec03f3de5d580d85cc256058cc0d2dd254b9e1a
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-05-24 (Mon, 24 May 2021)

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

  Log Message:
  -----------
  [dsymutil] Emit an error when the Mach-O exceeds the 4GB limit.

The Mach-O object file format is limited to 4GB because its used of
32-bit offsets in the header. It is possible for dsymutil to (silently)
emit an invalid binary. Instead of having consumers deal with this, emit
an error instead.


Compare: https://github.com/llvm/llvm-project/compare/de6164ec4da0...1ec03f3de5d5


More information about the All-commits mailing list