[all-commits] [llvm/llvm-project] ab546e: Fix a case where multiple symbols with zero size w...

Greg Clayton via All-commits all-commits at lists.llvm.org
Mon Jun 28 18:26:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab546ead3bf720b1789ddb2e093c398409ec3679
      https://github.com/llvm/llvm-project/commit/ab546ead3bf720b1789ddb2e093c398409ec3679
  Author: Greg Clayton <gclayton at fb.com>
  Date:   2021-06-28 (Mon, 28 Jun 2021)

  Changed paths:
    M llvm/lib/DebugInfo/GSYM/GsymCreator.cpp
    M llvm/unittests/DebugInfo/GSYM/GSYMTest.cpp

  Log Message:
  -----------
  Fix a case where multiple symbols with zero size would cause duplicate entries in gsym files.

Symbol tables can have symbols with no size in mach-o files that were failing to get combined into a single entry. This resulted in many duplicate entries for the same address and made gsym files larger.

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




More information about the All-commits mailing list