1// RUN: %clang_cc1 -dwarf-version=5 -emit-llvm -triple %itanium_abi_triple %s -o - \ 2// RUN: -x cl -O0 -disable-llvm-passes -debug-info-kind=limited \ 3// RUN: | FileCheck --check-prefix=CHECK-OPENCL %s 4// RUN: %clang_cc1 -dwarf-version=3 -emit-llvm -triple %itanium_abi_triple %s -o - \ 5// RUN: -x cl -O0 -disable-llvm-passes -debug-info-kind=limited \ 6// RUN: | FileCheck --check-prefix=CHECK-OPENCL %s 7// RUN: %clang_cc1 -dwarf-version=3 -gstrict-dwarf -emit-llvm -triple %itanium_abi_triple %s -o - \ 8// RUN: -x cl -O0 -disable-llvm-passes -debug-info-kind=limited \ 9// RUN: | FileCheck --check-prefix=CHECK-C99 %s 10// RUN: %clang_cc1 -dwarf-version=5 -gstrict-dwarf -emit-llvm -triple %itanium_abi_triple %s -o - \ 11// RUN: -x cl -O0 -disable-llvm-passes -debug-info-kind=limited \ 12// RUN: | FileCheck --check-prefix=CHECK-OPENCL %s 13 14kernel void empty() {} 15 16// CHECK-OPENCL: distinct !DICompileUnit(language: DW_LANG_OpenCL, 17// CHECK-C99: distinct !DICompileUnit(language: DW_LANG_C99, 18