HomeFreeBSD

Merge LLVM commit c03fdd340356 to fix lang/rust on powerpc

Description

Merge LLVM commit c03fdd340356 to fix lang/rust on powerpc

Without it building rust fails with:
ld: error: CallSiteSplitting.cpp:(function llvm::SmallVectorImpl<std::1::pair<llvm::BasicBlock*, llvm::SmallVector<std::1::pair<llvm::ICmpInst*, unsigned int>, 2u> > >::operator=(llvm::SmallVectorImpl<std::1::pair<llvm::BasicBlock*, llvm::SmallVector<std::1::pair<llvm::ICmpInst*, unsigned int>, 2u> > >&&): .text._ZN4llvm15SmallVectorImplINSt3__14pairIPNS_10BasicBlockENS_11SmallVectorINS2_IPNS_8ICmpInstEjEELj2EEEEEEaSEOSB_+0xB0): relocation R_PPC_PLTREL24 out of range: -33582208 is not in [-33554432, 33554431]

Reviewed by: dim
Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D34652
MFC after: 3 days

(cherry picked from commit 9b597132aea7d75810ca90258022f81d07971444)
(cherry picked from commit 56a4f560d429188625de4075983ec380bf8f7057)

Details

Provenance
pkubajAuthored on Mar 24 2022, 12:30 AM
Reviewer
dim
Differential Revision
D34652: Merge LLVM commit c03fdd340356 to fix lang/rust on powerpc
Parents
rG4e8fa94f335b: vfs: add missing bits to vdropl_impl
Branches
Unknown
Tags
Unknown