[all-commits] [llvm/llvm-project] 241032: [llvm-symbolizer][llvm-nm] Fix AArch64 and ARM map...

yroux via All-commits all-commits at lists.llvm.org
Tue Mar 23 06:17:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 241032a20527bbe2a0a13c51d025d79220e308a9
      https://github.com/llvm/llvm-project/commit/241032a20527bbe2a0a13c51d025d79220e308a9
  Author: Yvan Roux <yvan.roux at linaro.org>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M llvm/include/llvm/Object/ELFObjectFile.h
    A llvm/test/DebugInfo/Symbolize/ELF/aarch64-mapping-symbol.s
    M llvm/test/DebugInfo/Symbolize/ELF/arm-mapping-symbol.s
    A llvm/test/tools/llvm-nm/ARM/special-syms.test
    M llvm/test/tools/llvm-nm/debug-syms.test
    M llvm/tools/llvm-nm/llvm-nm.cpp

  Log Message:
  -----------
  [llvm-symbolizer][llvm-nm] Fix AArch64 and ARM mapping symbols handling.

Exclude AArch64 mapping symbols ($x and $d) for symtab symbolization as
it was done for ARM since D95916 tom bring bots back to green state.

This is implemented by setting SF_FormatSpecific such that
llvm-symbolizer will ignore them, and use this flag to re-implement
llvm-nm --special-syms option which make it work for both targets.

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




More information about the All-commits mailing list