[llvm] c5f8b98 - [yaml2obj][COFF] Add missing RISCV constants
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Thu May 12 13:59:37 PDT 2022
Author: Eli Friedman
Date: 2022-05-12T13:58:39-07:00
New Revision: c5f8b98e4f442579a92926f99ed242a783dd8763
URL: https://github.com/llvm/llvm-project/commit/c5f8b98e4f442579a92926f99ed242a783dd8763
DIFF: https://github.com/llvm/llvm-project/commit/c5f8b98e4f442579a92926f99ed242a783dd8763.diff
LOG: [yaml2obj][COFF] Add missing RISCV constants
Added:
Modified:
llvm/lib/ObjectYAML/COFFYAML.cpp
Removed:
################################################################################
diff --git a/llvm/lib/ObjectYAML/COFFYAML.cpp b/llvm/lib/ObjectYAML/COFFYAML.cpp
index 6e5cdce89060f..099ddb2b96652 100644
--- a/llvm/lib/ObjectYAML/COFFYAML.cpp
+++ b/llvm/lib/ObjectYAML/COFFYAML.cpp
@@ -75,6 +75,9 @@ void ScalarEnumerationTraits<COFF::MachineTypes>::enumeration(
ECase(IMAGE_FILE_MACHINE_POWERPC);
ECase(IMAGE_FILE_MACHINE_POWERPCFP);
ECase(IMAGE_FILE_MACHINE_R4000);
+ ECase(IMAGE_FILE_MACHINE_RISCV32);
+ ECase(IMAGE_FILE_MACHINE_RISCV64);
+ ECase(IMAGE_FILE_MACHINE_RISCV128);
ECase(IMAGE_FILE_MACHINE_SH3);
ECase(IMAGE_FILE_MACHINE_SH3DSP);
ECase(IMAGE_FILE_MACHINE_SH4);
More information about the llvm-commits
mailing list