File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ For other versions, check the git tags of this repository.
3535 * LLVM: Fix ` Triple::isTargetEHABICompatible() ` for NetBSD
3636 * Clang: Ignore the examples directory
3737 * Clang: Disable building of libclang-cpp.so.
38+ * Clang: Correctly define ` IntPtrType ` for MIPS
3839 * LLD: Added additional include directory to Zig's libunwind.
3940 * LLD: Respect ` LLD_BUILD_TOOLS=OFF `
4041 * LLD: Skip building docs
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ class LLVM_LIBRARY_VISIBILITY MipsTargetInfo : public TargetInfo {
129129 LongWidth = LongAlign = 32 ;
130130 MaxAtomicPromoteWidth = MaxAtomicInlineWidth = 32 ;
131131 PointerWidth = PointerAlign = 32 ;
132- PtrDiffType = SignedInt;
132+ PtrDiffType = IntPtrType = SignedInt;
133133 SizeType = UnsignedInt;
134134 SuitableAlign = 64 ;
135135 }
@@ -155,7 +155,7 @@ class LLVM_LIBRARY_VISIBILITY MipsTargetInfo : public TargetInfo {
155155 IntMaxType = Int64Type;
156156 LongWidth = LongAlign = 64 ;
157157 PointerWidth = PointerAlign = 64 ;
158- PtrDiffType = SignedLong;
158+ PtrDiffType = IntPtrType = SignedLong;
159159 SizeType = UnsignedLong;
160160 }
161161
@@ -165,7 +165,7 @@ class LLVM_LIBRARY_VISIBILITY MipsTargetInfo : public TargetInfo {
165165 IntMaxType = Int64Type;
166166 LongWidth = LongAlign = 32 ;
167167 PointerWidth = PointerAlign = 32 ;
168- PtrDiffType = SignedInt;
168+ PtrDiffType = IntPtrType = SignedInt;
169169 SizeType = UnsignedInt;
170170 }
171171
You can’t perform that action at this time.
0 commit comments