brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1004 B · fc57a41 Raw
18 lines · plain
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 %s4// 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 %s7// 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 %s10// 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 %s13 14kernel void empty() {}15 16// CHECK-OPENCL: distinct !DICompileUnit(language: DW_LANG_OpenCL,17// CHECK-C99: distinct !DICompileUnit(language: DW_LANG_C99,18