aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2015-01-15 20:48:38 +0000
committerHal Finkel <hfinkel@anl.gov>2015-01-15 20:48:38 +0000
commite67f32aa991554aec3c5a4cf7d044f419e64a789 (patch)
tree5ee210814dfc7956e234662d2c200925a9e28b1d /clang/lib/CodeGen/CodeGenModule.cpp
parent7059e2959d61c5b97916e1a02c610d68aed9a1fe (diff)
downloadllvm-e67f32aa991554aec3c5a4cf7d044f419e64a789.zip
llvm-e67f32aa991554aec3c5a4cf7d044f419e64a789.tar.gz
llvm-e67f32aa991554aec3c5a4cf7d044f419e64a789.tar.bz2
[asan] Loosen test for upcoming ppc64 change
This test casts 0x4 to a function pointer and calls it. Unfortunately, the faulting address may not exactly be 0x4 on PPC64 ELFv1 systems. The LLVM PPC backend used to always generate the loads "in order", so we'd fault at 0x4 anyway. However, at upcoming change to loosen that ordering, and we'll pick a different order on some targets. As a result, as explained in the comment, we need to allow for certain nearby addresses as well. llvm-svn: 226202
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions