[all-commits] [llvm/llvm-project] 76f023: [RISCV] Make mapping symbols SF_FormatSpecific

Job Noorman via All-commits all-commits at lists.llvm.org
Fri Jul 28 01:22:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76f023bddfc282017729ff860265191bc9e7c149
      https://github.com/llvm/llvm-project/commit/76f023bddfc282017729ff860265191bc9e7c149
  Author: Job Noorman <jnoorman at igalia.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M llvm/include/llvm/Object/ELFObjectFile.h
    A llvm/test/DebugInfo/Symbolize/ELF/riscv-mapping-symbol.s

  Log Message:
  -----------
  [RISCV] Make mapping symbols SF_FormatSpecific

This ensures that llvm-symbolizer ignores them for symbolization.

Note: unlike aarch64-mapping-symbol.s, the test included here does not
test if the mapping symbols are actually in the symbol table. The reason
is that llvm-mc support for RISC-V mapping symbols (D153260) has not
landed yet, so the mapping symbols simply aren't there. However, D153260
would like to depend on this patch together with D156190 to avoid having
to update a large amount of tests.

Reviewed By: MaskRay

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




More information about the All-commits mailing list