aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CommandFlags.cpp
diff options
context:
space:
mode:
authorJulian Lettner <julian.lettner@apple.com>2020-07-31 11:38:10 -0700
committerJulian Lettner <julian.lettner@apple.com>2020-07-31 11:47:09 -0700
commit43bf902c2e3416179cf41eba9307fc74bcba0ecd (patch)
tree11a2ba03028fd942ec0779a8a2fcbfe5ee8c6304 /llvm/lib/CodeGen/CommandFlags.cpp
parente8a2af28afd5b4370fb66d8810ff979d1cb4d45b (diff)
downloadllvm-43bf902c2e3416179cf41eba9307fc74bcba0ecd.zip
llvm-43bf902c2e3416179cf41eba9307fc74bcba0ecd.tar.gz
llvm-43bf902c2e3416179cf41eba9307fc74bcba0ecd.tar.bz2
[compiler-rt][Darwin] Fix GetOSMajorKernelOffset() on watchOS
`TARGET_OS_IOS` and `TARGET_OS_WATCH` are not mutually exclusive. `SANITIZER_IOS` is defined for all embedded platforms. So the branch for watchOS is never taken. We could fix this by switching the order of the branches (but the reason for doing so is non-obvious). Instead, lets use the Darwin-specific `TARGET_OS_*` macros which are mutually exclusive.
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
0 files changed, 0 insertions, 0 deletions