[all-commits] [llvm/llvm-project] 8a47d8: [dsymutil] Copy eh_frame content into the dSYM com...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Jan 12 19:50:55 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a47d875b071823455931bbc119ca1e455559176
      https://github.com/llvm/llvm-project/commit/8a47d875b071823455931bbc119ca1e455559176
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    A llvm/test/tools/dsymutil/Inputs/private/tmp/eh_frame/eh_frame.o
    A llvm/test/tools/dsymutil/Inputs/private/tmp/eh_frame/eh_frame.out
    A llvm/test/tools/dsymutil/X86/eh_frame.test
    M llvm/tools/dsymutil/MachOUtils.cpp

  Log Message:
  -----------
  [dsymutil] Copy eh_frame content into the dSYM companion file.

Copy over the __eh_frame from the binary into the dSYM. This helps
kernel developers that are working with only dSYMs (i.e. no binaries)
when debugging a core file. This only kicks in when the __eh_frame
exists in the linked binary. Most of the time ld64 will remove the
section in favor of compact unwind info. When it is emitted, it's
generally small enough and should not bloat the dSYM.

rdar://69774935

Differential revision: https://reviews.llvm.org/D94460




More information about the All-commits mailing list