[DebugInfo][OpenCL] Generate correct block literal debug info for OpenCL
authorScott Linder <scott@scottlinder.com>
Mon, 30 Jul 2018 20:31:11 +0000 (20:31 +0000)
committerScott Linder <scott@scottlinder.com>
Mon, 30 Jul 2018 20:31:11 +0000 (20:31 +0000)
commit2b5cf04180e05f7e791eb35ee9d59562cbbc725e
tree6a9e71be9d97ffcfaae66b9d18d7197e6cef50a2
parentb94d5f853b9da2285611a6ef1bfb0f578ef1d4e5
[DebugInfo][OpenCL] Generate correct block literal debug info for OpenCL

OpenCL block literal structs have different fields which are now correctly
identified in the debug info.

Differential Revision: https://reviews.llvm.org/D49930

llvm-svn: 338299
clang/lib/CodeGen/CGDebugInfo.cpp
clang/test/CodeGenOpenCL/blocks.cl