[all-commits] [llvm/llvm-project] a76f3d: [dsymutil] Make copySwiftInterfaces a member of Dw...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Apr 4 21:57:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a76f3d0d4ec992ba1efd94f34810161e847e976d
      https://github.com/llvm/llvm-project/commit/a76f3d0d4ec992ba1efd94f34810161e847e976d
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

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

  Log Message:
  -----------
  [dsymutil] Make copySwiftInterfaces a member of DwarfLinkerForBinary (NFC)

Make copySwiftInterfaces a member of DwarfLinkerForBinary instead of a
static function.


  Commit: 25ad7c958a13c28a234af35abec2ecbd1429fd06
      https://github.com/llvm/llvm-project/commit/25ad7c958a13c28a234af35abec2ecbd1429fd06
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

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

  Log Message:
  -----------
  [dsymutil] Unify reporting of warnings and errors

Make all error reporting in DwarfLinkerForBinary go through the
`reportWarning` and `reportError` wrappers.


  Commit: 339a8b7fcd50c649f50daf351a011cd5c187778e
      https://github.com/llvm/llvm-project/commit/339a8b7fcd50c649f50daf351a011cd5c187778e
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

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

  Log Message:
  -----------
  [dsymutil] Prevent interleaved errors and warnings

Use a mutex to protect the printing of errors and warnings and prevents
interleaving. There are two sources of parallelism in dsymutil that
could result in interleaved output: errors from different architectures
being processed in parallel and errors from the analyze and clone steps
which execute in lockstep. This patch addresses both by using a unique
mutex across all error reporting.


Compare: https://github.com/llvm/llvm-project/compare/3500e11065d6...339a8b7fcd50


More information about the All-commits mailing list