CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
35 lines
2.2 KiB
C++
35 lines
2.2 KiB
C++
// RUN: %clang_cc1 -dwarf-version=5 -emit-llvm -triple %itanium_abi_triple %s -o - \
|
|
// RUN: -x c++ -std=c++14 -O0 -disable-llvm-passes -debug-info-kind=limited \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CPP14 %s
|
|
// RUN: %clang_cc1 -dwarf-version=3 -emit-llvm -triple %itanium_abi_triple %s -o - \
|
|
// RUN: -x c++ -std=c++14 -O0 -disable-llvm-passes -debug-info-kind=limited \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CPP14 %s
|
|
// RUN: %clang_cc1 -dwarf-version=3 -emit-llvm -triple %itanium_abi_triple %s -o - \
|
|
// RUN: -x c++ -std=c++17 -O0 -disable-llvm-passes -debug-info-kind=limited \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CPP17 %s
|
|
// RUN: %clang_cc1 -dwarf-version=3 -emit-llvm -triple %itanium_abi_triple %s -o - \
|
|
// RUN: -x c++ -std=c++20 -O0 -disable-llvm-passes -debug-info-kind=limited \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CPP20 %s
|
|
// RUN: %clang_cc1 -dwarf-version=3 -gstrict-dwarf -emit-llvm -triple %itanium_abi_triple %s -o - \
|
|
// RUN: -x c++ -std=c++14 -O0 -disable-llvm-passes -debug-info-kind=limited | FileCheck %s
|
|
// RUN: %clang_cc1 -dwarf-version=5 -gstrict-dwarf -emit-llvm -triple %itanium_abi_triple %s -o - \
|
|
// RUN: -x c++ -std=c++14 -O0 -disable-llvm-passes -debug-info-kind=limited \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CPP14 %s
|
|
|
|
int main() {
|
|
return 0;
|
|
}
|
|
|
|
// Update these tests once support for DW_LANG_C_plus_plus_17/20 is added - it's
|
|
// a complicated tradeoff. The language codes are already published/blessed by
|
|
// the DWARF committee, but haven't been released in a published standard yet,
|
|
// so consumers might not be ready for these codes & could regress functionality
|
|
// (because they wouldn't be able to identify that the language was C++). The
|
|
// DWARFv6 language encoding, separating language from language version, would
|
|
// remove this problem/not require new codes for new language versions and make
|
|
// it possible to identify the base language irrespective of the version.
|
|
// CHECK-CPP14: distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14,
|
|
// CHECK-CPP17: distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14,
|
|
// CHECK-CPP20: distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14,
|
|
// CHECK: distinct !DICompileUnit(language: DW_LANG_C_plus_plus,
|