[all-commits] [llvm/llvm-project] 6f539d: [JITLink][RISCV] Order EdgeKind_riscv the same way...
Jonas Hahnfeld via All-commits
all-commits at lists.llvm.org
Mon Jan 2 05:50:05 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f539de7351c3200675fffaa5abc7bc0c4e266da
https://github.com/llvm/llvm-project/commit/6f539de7351c3200675fffaa5abc7bc0c4e266da
Author: Jonas Hahnfeld <hahnjo at hahnjo.de>
Date: 2023-01-02 (Mon, 02 Jan 2023)
Changed paths:
M llvm/include/llvm/ExecutionEngine/JITLink/riscv.h
M llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
M llvm/lib/ExecutionEngine/JITLink/riscv.cpp
Log Message:
-----------
[JITLink][RISCV] Order EdgeKind_riscv the same way as relocations
There were basically four different orderings: one defined by the
relocations, one by the enum definition of EdgeKind_riscv, one for
mapping the enum values to their names, and one when mapping the
relocations to edge kinds and finally processing them. Chose the
ordering defined by the relocations in the riscv-elf-psabi-doc as
the canonical one.
Differential Revision: https://reviews.llvm.org/D140802
More information about the All-commits
mailing list