[llvm] 0a614ff - [ARM] Fix -Wmissing-field-initializers
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 12 14:28:29 PDT 2021
Author: Fangrui Song
Date: 2021-04-12T14:28:23-07:00
New Revision: 0a614fff4f47b549fd306196a88e22e5d493cd57
URL: https://github.com/llvm/llvm-project/commit/0a614fff4f47b549fd306196a88e22e5d493cd57
DIFF: https://github.com/llvm/llvm-project/commit/0a614fff4f47b549fd306196a88e22e5d493cd57.diff
LOG: [ARM] Fix -Wmissing-field-initializers
Added:
Modified:
llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp b/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
index 3f88f5036d00..9f7327f792c7 100644
--- a/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
+++ b/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
@@ -138,7 +138,7 @@ const MCFixupKindInfo &ARMAsmBackend::getFixupKindInfo(MCFixupKind Kind) const {
{"fixup_arm_pcrel_9", 0, 32, MCFixupKindInfo::FKF_IsPCRel},
{"fixup_t2_pcrel_9", 0, 32,
IsPCRelConstant | MCFixupKindInfo::FKF_IsAlignedDownTo32Bits},
- {"fixup_arm_ldst_abs_12", 0, 32},
+ {"fixup_arm_ldst_abs_12", 0, 32, 0},
{"fixup_thumb_adr_pcrel_10", 8, 8,
IsPCRelConstant | MCFixupKindInfo::FKF_IsAlignedDownTo32Bits},
{"fixup_arm_adr_pcrel_12", 0, 32, IsPCRelConstant},
More information about the llvm-commits
mailing list