[all-commits] [llvm/llvm-project] de8723: [JITLink] Add anonymous symbols in LinkGraph for u...

luxufan via All-commits all-commits at lists.llvm.org
Sat Jan 22 00:51:10 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de872382951572b70dfaefe8d77eb98d15586115
      https://github.com/llvm/llvm-project/commit/de872382951572b70dfaefe8d77eb98d15586115
  Author: luxufan <932494295 at qq.com>
  Date:   2022-01-22 (Sat, 22 Jan 2022)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/riscv.h
    M llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
    M llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
    M llvm/lib/ExecutionEngine/JITLink/riscv.cpp
    A llvm/test/ExecutionEngine/JITLink/RISCV/anonymous_symbol.s

  Log Message:
  -----------
  [JITLink] Add anonymous symbols in LinkGraph for unnamed temporary symbols

In RISCV, temporary symbols will be used to generate dwarf, eh_frame sections..., and will be placed in object code's symbol table. However, LLVM does not use names on these temporary symbols. This patch add anonymous symbols in LinkGraph for these temporary symbols.

Reviewed By: lhames

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




More information about the All-commits mailing list