diff options
author | Emily Shi <code@emi.sh> | 2021-04-09 17:47:54 -0700 |
---|---|---|
committer | Emily Shi <code@emi.sh> | 2021-04-19 14:01:07 -0700 |
commit | cc2b62a06e616c6406b0f1387625b50d3d0639ad (patch) | |
tree | 30e62b9495db4cc7c1f6c30308ac1539483f36ba /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | d6fde913790db898e72e27b51defbc7442f3418a (diff) | |
download | llvm-cc2b62a06e616c6406b0f1387625b50d3d0639ad.zip llvm-cc2b62a06e616c6406b0f1387625b50d3d0639ad.tar.gz llvm-cc2b62a06e616c6406b0f1387625b50d3d0639ad.tar.bz2 |
[compiler-rt] assert max virtual address is <= mmap range size
If these sizes do not match, asan will not work as expected.
If possible, assert at compile time that the vm size is less than or equal to mmap range.
If a compile time assert is not possible, check at run time (for iOS)
rdar://76477969
Reviewed By: delcypher, yln
Differential Revision: https://reviews.llvm.org/D100239
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions