[all-commits] [llvm/llvm-project] 946e7a: [llvm-jitlink] Pass object features when creating ...
Job Noorman via All-commits
all-commits at lists.llvm.org
Sat May 13 02:40:24 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 946e7aa6dce96fd9538e8866a9adb8024b53d8f4
https://github.com/llvm/llvm-project/commit/946e7aa6dce96fd9538e8866a9adb8024b53d8f4
Author: Job Noorman <jnoorman at igalia.com>
Date: 2023-05-13 (Sat, 13 May 2023)
Changed paths:
M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
M llvm/tools/llvm-jitlink/llvm-jitlink.h
Log Message:
-----------
[llvm-jitlink] Pass object features when creating MCSubtargetInfo
The reason for this patch is to allow the MCDisassembler used in tests
to disassemble instructions that are only available when a specific
feature is enabled.
For example, on RISC-V it's currently not possible to use
decode_operand() on a compressed instruction. This patch fixes this.
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D149523
More information about the All-commits
mailing list