We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9910d5 commit fb68827Copy full SHA for fb68827
llvm/lib/TargetParser/Triple.cpp
@@ -1633,14 +1633,7 @@ void Triple::setObjectFormat(ObjectFormatType Kind) {
1633
}
1634
1635
void Triple::setArchName(StringRef Str) {
1636
- // Work around a miscompilation bug for Twines in gcc 4.0.3.
1637
- SmallString<64> Triple;
1638
- Triple += Str;
1639
- Triple += "-";
1640
- Triple += getVendorName();
1641
1642
- Triple += getOSAndEnvironmentName();
1643
- setTriple(Triple);
+ setTriple(Str + "-" + getVendorName() + "-" + getOSAndEnvironmentName());
1644
1645
1646
void Triple::setVendorName(StringRef Str) {
0 commit comments