Changeset View
Changeset View
Standalone View
Standalone View
clang/test/Driver/openmp-offload-gpu.c
Show First 20 Lines • Show All 235 Lines • ▼ Show 20 Lines | |||||
// RUN: | FileCheck -check-prefix=HAS_DEBUG %s | // RUN: | FileCheck -check-prefix=HAS_DEBUG %s | ||||
// RUN: %clang -### -no-canonical-prefixes -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda -Xopenmp-target -march=sm_60 %s -gline-tables-only 2>&1 \ | // RUN: %clang -### -no-canonical-prefixes -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda -Xopenmp-target -march=sm_60 %s -gline-tables-only 2>&1 \ | ||||
// RUN: | FileCheck -check-prefix=HAS_DEBUG %s | // RUN: | FileCheck -check-prefix=HAS_DEBUG %s | ||||
// RUN: %clang -### -no-canonical-prefixes -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda -Xopenmp-target -march=sm_60 %s -ggdb1 -O2 --cuda-noopt-device-debug 2>&1 \ | // RUN: %clang -### -no-canonical-prefixes -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda -Xopenmp-target -march=sm_60 %s -ggdb1 -O2 --cuda-noopt-device-debug 2>&1 \ | ||||
// RUN: | FileCheck -check-prefix=HAS_DEBUG %s | // RUN: | FileCheck -check-prefix=HAS_DEBUG %s | ||||
// HAS_DEBUG-NOT: warning: debug | // HAS_DEBUG-NOT: warning: debug | ||||
// HAS_DEBUG: "-triple" "nvptx64-nvidia-cuda" | // HAS_DEBUG: "-triple" "nvptx64-nvidia-cuda" | ||||
// HAS_DEBUG-SAME: "-debug-info-kind={{limited|line-tables-only}}" | // HAS_DEBUG-SAME: "-debug-info-kind={{constructor|line-tables-only}}" | ||||
// HAS_DEBUG-SAME: "-dwarf-version=2" | // HAS_DEBUG-SAME: "-dwarf-version=2" | ||||
// HAS_DEBUG-SAME: "-fopenmp-is-device" | // HAS_DEBUG-SAME: "-fopenmp-is-device" | ||||
// HAS_DEBUG: ptxas | // HAS_DEBUG: ptxas | ||||
// HAS_DEBUG-SAME: "-g" | // HAS_DEBUG-SAME: "-g" | ||||
// HAS_DEBUG-SAME: "--dont-merge-basicblocks" | // HAS_DEBUG-SAME: "--dont-merge-basicblocks" | ||||
// HAS_DEBUG-SAME: "--return-at-end" | // HAS_DEBUG-SAME: "--return-at-end" | ||||
// HAS_DEBUG: nvlink | // HAS_DEBUG: nvlink | ||||
// HAS_DEBUG-SAME: "-g" | // HAS_DEBUG-SAME: "-g" | ||||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |