aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Binary.cpp
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2016-11-17 18:41:54 +0000
committerMichal Gorny <mgorny@gentoo.org>2016-11-17 18:41:54 +0000
commita07c531ef9fd7d621097ac1d797a020af06659c4 (patch)
tree0c9cbe95758cdf2df048e8aa1104d5dd92cd17e2 /llvm/lib/Object/Binary.cpp
parentb666573238e6871504a8fbfd3cbff3f48be1f9bc (diff)
downloadllvm-a07c531ef9fd7d621097ac1d797a020af06659c4.zip
llvm-a07c531ef9fd7d621097ac1d797a020af06659c4.tar.gz
llvm-a07c531ef9fd7d621097ac1d797a020af06659c4.tar.bz2
[tests] Use __SSE2__ (rather than __i686__...) for SSE2 ASAN test
Use the __SSE2__ to determine whether SSE2 is enabled in the ASAN tests rather than relying on either of the __i686__ and __x86_64__. The former is only set with explicit -march=i686, and therefore misses most of the x86 CPUs that support SSE2. __SSE2__ is in turn defined if the current settings (-march, -msse2) indicate that SSE2 is supported which should be more reliable. Differential Revision: https://reviews.llvm.org/D26763 llvm-svn: 287245
Diffstat (limited to 'llvm/lib/Object/Binary.cpp')
0 files changed, 0 insertions, 0 deletions