[all-commits] [llvm/llvm-project] 568be3: [dsymutil] Initialize the debug map before loading...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Mar 27 22:34:57 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 568be31c9e50a7d7263417841ee1b12334529903
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-03-27 (Mon, 27 Mar 2023)

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

  Log Message:
  [dsymutil] Initialize the debug map before loading the main binary

Fix a crash when a warning is emitted while loading the symbols from the
main binary. The warning helper assumes that the resulting debug map is
initialized, but this happened after loading the main binary. Since
there's no dependency between the two the initialization can be moved


More information about the All-commits mailing list