aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues.cpp
diff options
context:
space:
mode:
authorJulian Lettner <julian.lettner@apple.com>2020-05-14 13:43:33 -0700
committerJulian Lettner <julian.lettner@apple.com>2020-06-01 10:37:03 -0700
commitf97a609b1763d7e343f52a7061727c4874bc26df (patch)
tree2ab4199821eeb44813aa174a8935cae61644a2b9 /llvm/lib/CodeGen/LiveDebugValues.cpp
parent6c27c61d32fd2951a290c6d4363bd495f6feae96 (diff)
downloadllvm-f97a609b1763d7e343f52a7061727c4874bc26df.zip
llvm-f97a609b1763d7e343f52a7061727c4874bc26df.tar.gz
llvm-f97a609b1763d7e343f52a7061727c4874bc26df.tar.bz2
[Darwin] Add and adopt a way to query the Darwin kernel version
This applies the learnings from [1]. What I intended as a simple cleanup made me realize that the compiler-rt version checks have two separate issues: 1) In some places (e.g., mmap flag setting) what matters is the kernel version, not the OS version. 2) OS version checks are implemented by querying the kernel version. This is not necessarily correct inside the simulators if the simulator runtime isn't aligned with the host macOS. This commit tackles 1) by adopting a separate query function for the Darwin kernel version. 2) (and cleanups) will be dealt with in follow-ups. [1] https://reviews.llvm.org/D78942 rdar://63031937 Reviewed By: delcypher Differential Revision: https://reviews.llvm.org/D79965
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
0 files changed, 0 insertions, 0 deletions