Skip to content

Commit 1f57800

Browse files
committed
[llvm] Handle BridgeOS in Triple::parseOS
This fixes the TripleTest unit test.
1 parent 13e6495 commit 1f57800

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/TargetParser/Triple.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ static Triple::OSType parseOS(StringRef OSName) {
638638
.StartsWith("elfiamcu", Triple::ELFIAMCU)
639639
.StartsWith("tvos", Triple::TvOS)
640640
.StartsWith("watchos", Triple::WatchOS)
641+
.StartsWith("bridgeos", Triple::BridgeOS)
641642
.StartsWith("driverkit", Triple::DriverKit)
642643
.StartsWith("xros", Triple::XROS)
643644
.StartsWith("visionos", Triple::XROS)

0 commit comments

Comments
 (0)