aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorJulian Lettner <julian.lettner@apple.com>2020-05-14 14:52:35 -0700
committerJulian Lettner <julian.lettner@apple.com>2020-06-03 13:44:11 -0700
commitba6b1b4353e33a7a36bcbad1d1c1157826197fd2 (patch)
treec3ccb7d74ba10fa8d590a25a72fe2dc73b2bcd14 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parent8bd7e4188a096b063065aac70ce39129c479f124 (diff)
downloadllvm-ba6b1b4353e33a7a36bcbad1d1c1157826197fd2.zip
llvm-ba6b1b4353e33a7a36bcbad1d1c1157826197fd2.tar.gz
llvm-ba6b1b4353e33a7a36bcbad1d1c1157826197fd2.tar.bz2
[Darwin] Improve runtime OS version checks
Use a struct to represent numerical versions instead of encoding release names in an enumeration. This avoids the need to extend the enumeration every time there is a new release. Rename `GetMacosVersion() -> GetMacosAlignedVersion()` to better reflect how this is used on non-MacOS platforms. Reviewed By: delcypher Differential Revision: https://reviews.llvm.org/D79970
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions