mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
9e8b1c8ad9
So far, support for x86_64-linux-gnux32 has been handled by explicit comparisons of Triple.getEnvironment() to GNUX32. This worked as long as x86_64-linux-gnux32 was the only X32 environment to worry about, but we now have x86_64-linux-muslx32 as well. To support this, this change adds an isX32() function and uses it. It replaces all checks for GNUX32 or MuslX32 by isX32(), except for the following: - Triple::isGNUEnvironment() and Triple::isMusl() are supposed to treat GNUX32 and MuslX32 differently. - computeTargetTriple() needs to be able to transform triples to add or remove X32 from the environment and needs to map GNU to GNUX32, and Musl to MuslX32. - getMultiarchTriple() completely lacks any Musl support and retains the explicit check for GNUX32 as it can only return x86_64-linux-gnux32. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D103777 |
||
---|---|---|
.. | ||
AllocatorList.h | ||
Any.h | ||
APFixedPoint.h | ||
APFloat.h | ||
APInt.h | ||
APSInt.h | ||
ArrayRef.h | ||
bit.h | ||
Bitfields.h | ||
BitmaskEnum.h | ||
BitVector.h | ||
BreadthFirstIterator.h | ||
CachedHashString.h | ||
CoalescingBitVector.h | ||
DAGDeltaAlgorithm.h | ||
DeltaAlgorithm.h | ||
DenseMap.h | ||
DenseMapInfo.h | ||
DenseSet.h | ||
DepthFirstIterator.h | ||
DirectedGraph.h | ||
edit_distance.h | ||
EnumeratedArray.h | ||
EpochTracker.h | ||
EquivalenceClasses.h | ||
fallible_iterator.h | ||
FloatingPointMode.h | ||
FoldingSet.h | ||
FunctionExtras.h | ||
GraphTraits.h | ||
Hashing.h | ||
ilist_base.h | ||
ilist_iterator.h | ||
ilist_node_base.h | ||
ilist_node_options.h | ||
ilist_node.h | ||
ilist.h | ||
ImmutableList.h | ||
ImmutableMap.h | ||
ImmutableSet.h | ||
IndexedMap.h | ||
IntEqClasses.h | ||
IntervalMap.h | ||
IntrusiveRefCntPtr.h | ||
iterator_range.h | ||
iterator.h | ||
MapVector.h | ||
None.h | ||
Optional.h | ||
PackedVector.h | ||
PointerEmbeddedInt.h | ||
PointerIntPair.h | ||
PointerSumType.h | ||
PointerUnion.h | ||
PostOrderIterator.h | ||
PriorityQueue.h | ||
PriorityWorklist.h | ||
SCCIterator.h | ||
ScopedHashTable.h | ||
ScopeExit.h | ||
Sequence.h | ||
SetOperations.h | ||
SetVector.h | ||
simple_ilist.h | ||
SmallBitVector.h | ||
SmallPtrSet.h | ||
SmallSet.h | ||
SmallString.h | ||
SmallVector.h | ||
SparseBitVector.h | ||
SparseMultiSet.h | ||
SparseSet.h | ||
Statistic.h | ||
STLExtras.h | ||
STLForwardCompat.h | ||
StringExtras.h | ||
StringMap.h | ||
StringMapEntry.h | ||
StringRef.h | ||
StringSet.h | ||
StringSwitch.h | ||
TinyPtrVector.h | ||
Triple.h | ||
Twine.h | ||
TypeSwitch.h | ||
UniqueVector.h | ||
Waymarking.h |