[all-commits] [llvm/llvm-project] 6e8ec1: [MC][RISCV] Suppress R_RISCV_{ADD, SUB}32 in .apple...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jul 1 11:15:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e8ec13d3f016da1e6581e2938fb69a932ab09c7
      https://github.com/llvm/llvm-project/commit/6e8ec13d3f016da1e6581e2938fb69a932ab09c7
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-07-01 (Fri, 01 Jul 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
    M llvm/test/MC/RISCV/riscv64-64b-pcrel.s

  Log Message:
  -----------
  [MC][RISCV] Suppress R_RISCV_{ADD,SUB}32 in .apple_names .apple_types after D127549

This fixes test/DebugInfo/Generic/accel-table-hash-collisions.ll and
cross-cu-inlining.ll when the default triple is riscv. llvm-dwarfdump
--apple-names does not resolve R_RISCV_{ADD,SUB}32 in .apple_names .apple_types
and having ADD/SUB will cause decoding failure `Atom[0]: Error extracting the
value`.




More information about the All-commits mailing list