[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / hip-gsplit-dwarf-options.hip
blob74891e1c7cc8d57e90ff6f441d1514b7490a878b
1 // REQUIRES: zlib, amdgpu-registered-target
3 // RUN: %clang -### -target x86_64-unknown-linux-gnu -c \
4 // RUN:   --offload-arch=gfx906:xnack+ %s -nogpulib -nogpuinc \
5 // RUN:   --offload-arch=gfx900 \
6 // RUN:   -ggdb -gsplit-dwarf 2>&1 | FileCheck %s
8 // RUN: %clang -### -target x86_64-unknown-linux-gnu -c \
9 // RUN:   -fgpu-rdc --offload-arch=gfx906:xnack+ %s -nogpulib -nogpuinc \
10 // RUN:   --offload-arch=gfx900 \
11 // RUN:   -ggdb -gsplit-dwarf 2>&1 | FileCheck %s
13 // RUN: %clang -### -target x86_64-unknown-linux-gnu \
14 // RUN:   --offload-arch=gfx906:xnack+ %s -nogpulib -nogpuinc \
15 // RUN:   --offload-arch=gfx900 \
16 // RUN:   -ggdb -gsplit-dwarf 2>&1 | FileCheck %s
18 // RUN: %clang -### -target x86_64-unknown-linux-gnu \
19 // RUN:   -fgpu-rdc --offload-arch=gfx906:xnack+ %s -nogpulib -nogpuinc \
20 // RUN:   --offload-arch=gfx900 \
21 // RUN:   -ggdb -gsplit-dwarf 2>&1 | FileCheck %s
23 // CHECK-DAG: {{".*clang.*".* "-target-cpu" "gfx906".* "-split-dwarf-output" "hip-gsplit-dwarf-options_gfx906:xnack\+.dwo"}}
24 // CHECK-DAG: {{".*clang.*".* "-target-cpu" "gfx900".* "-split-dwarf-output" "hip-gsplit-dwarf-options_gfx900.dwo"}}
25 // CHECK-DAG: {{".*clang.*".* "-target-cpu" "x86-64".* "-split-dwarf-output" "hip-gsplit-dwarf-options.dwo"}}