From: Martin Bohme Date: Thu, 15 Feb 2018 13:50:07 +0000 (+0000) Subject: Add -no-canonical-prefixes to allow different build modes. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c1f7b61b19dcf2f8f6dff01d25eeee7f306129e;p=clang Add -no-canonical-prefixes to allow different build modes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325236 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/amdgcn-toolchain-pic.cl b/test/Driver/amdgcn-toolchain-pic.cl index 870f1f3132..fc2978a2f2 100644 --- a/test/Driver/amdgcn-toolchain-pic.cl +++ b/test/Driver/amdgcn-toolchain-pic.cl @@ -1,7 +1,7 @@ -// RUN: %clang -### -target amdgcn-- -mcpu=gfx803 %s 2>&1 | FileCheck %s -// RUN: %clang -### -target amdgcn-amd- -mcpu=gfx803 %s 2>&1 | FileCheck %s -// RUN: %clang -### -target amdgcn-amd-amdhsa -mcpu=gfx803 %s 2>&1 | FileCheck %s -// RUN: %clang -### -target amdgcn-amd-amdpal -mcpu=gfx803 %s 2>&1 | FileCheck %s -// RUN: %clang -### -target amdgcn-amd-mesa3d -mcpu=gfx803 %s 2>&1 | FileCheck %s +// RUN: %clang -no-canonical-prefixes -### -target amdgcn-- -mcpu=gfx803 %s 2>&1 | FileCheck %s +// RUN: %clang -no-canonical-prefixes -### -target amdgcn-amd- -mcpu=gfx803 %s 2>&1 | FileCheck %s +// RUN: %clang -no-canonical-prefixes -### -target amdgcn-amd-amdhsa -mcpu=gfx803 %s 2>&1 | FileCheck %s +// RUN: %clang -no-canonical-prefixes -### -target amdgcn-amd-amdpal -mcpu=gfx803 %s 2>&1 | FileCheck %s +// RUN: %clang -no-canonical-prefixes -### -target amdgcn-amd-mesa3d -mcpu=gfx803 %s 2>&1 | FileCheck %s // CHECK: clang{{.*}} "-mrelocation-model" "pic" "-pic-level" "1"