Skip to content

Commit

Permalink
[ORC] Support visionOS in LC_BUILD_VERSIONs for JITDylibs.
Browse files Browse the repository at this point in the history
rdar://127846581
  • Loading branch information
lhames committed May 16, 2024
1 parent 487b43c commit 6bf1859
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,10 @@ MachOPlatform::HeaderOptions::BuildVersionOpts::fromTriple(const Triple &TT,
Platform = TT.isSimulatorEnvironment() ? MachO::PLATFORM_WATCHOSSIMULATOR
: MachO::PLATFORM_WATCHOS;
break;
case Triple::XROS:
Platform = TT.isSimulatorEnvironment() ? MachO::PLATFORM_XROS_SIMULATOR
: MachO::PLATFORM_XROS;
break;
default:
return std::nullopt;
}
Expand Down

0 comments on commit 6bf1859

Please sign in to comment.