[all-commits] [llvm/llvm-project] 7bf721: [Object][RISCV] Resolve R_RISCV_32_PCREL

Luís Marques via All-commits all-commits at lists.llvm.org
Thu Nov 21 15:35:27 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7bf721e59c54aba854ab81cc6fc92db30446cfda
      https://github.com/llvm/llvm-project/commit/7bf721e59c54aba854ab81cc6fc92db30446cfda
  Author: Luís Marques <luismarques at lowrisc.org>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M llvm/lib/Object/RelocationResolver.cpp
    M llvm/test/DebugInfo/RISCV/relax-debug-frame.ll

  Log Message:
  -----------
  [Object][RISCV] Resolve R_RISCV_32_PCREL

Summary: Add support for resolving `R_RISCV_32_PCREL` relocations. Those aren't
actually resolved AFAIK, but support is still needed to avoid llvm-dwarfdump
errors. The use of these relocations was introduced in D66419 but the
corresponding resolving wasn't added then. The test adds a check that should
catch future unresolved relocations.

Reviewers: asb, lenary
Reviewed By: asb
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70204




More information about the All-commits mailing list