aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-04-27 10:43:48 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-04-27 10:43:48 +0000
commita8a372d85e099046f5e03801ace6c6a456fc0df5 (patch)
treeb3f1cfccd2ead9d6e47df2a7d062054a43490852 /llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp
parent4f46be327cfee48b69d03a062b7b068356d64223 (diff)
downloadllvm-a8a372d85e099046f5e03801ace6c6a456fc0df5.zip
llvm-a8a372d85e099046f5e03801ace6c6a456fc0df5.tar.gz
llvm-a8a372d85e099046f5e03801ace6c6a456fc0df5.tar.bz2
[ObjC] Disallow vector parameters and return values in Objective-C methods
for iOS < 9 and OS X < 10.11 X86 targets This commit adds a new error that disallows methods that have parameters/return values with a vector type for some older X86 targets. This diagnostic is needed because objc_msgSend doesn't support SIMD vector registers/return values on X86 in iOS < 9 and OS X < 10.11. Note that we don't necessarily know if the vector argument/return value will use a SIMD register, so instead we chose to be conservative and prohibit all vector types. rdar://21662309 Differential Revision: https://reviews.llvm.org/D28670 llvm-svn: 301532
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp')
0 files changed, 0 insertions, 0 deletions