[all-commits] [llvm/llvm-project] 13f1bc: Don't populate the symbol table with symbols that ...

David Blaikie via All-commits all-commits at lists.llvm.org
Tue Sep 13 15:31:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13f1bc41888e7d6555c532ba5fa925b9fe3e6b2f
      https://github.com/llvm/llvm-project/commit/13f1bc41888e7d6555c532ba5fa925b9fe3e6b2f
  Author: George Wright <wrightgeorge at google.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
    M llvm/test/DebugInfo/Symbolize/ELF/symtab-file2.yaml

  Log Message:
  -----------
  Don't populate the symbol table with symbols that don't belong to a section with the flag SHF_ALLOC

When populating the symbol table for an ELF object file, don't insert any symbols that come from ELF sections which don't have runtime allocated memory (typically debugging symbols).

Reviewed By: dblaikie

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




More information about the All-commits mailing list