Skip to content

Commit 1a0cf24

Browse files
authored
[Offload] Change x86_64-pc-linux to x86_64-unknown-linux (#107023)
It appears that the RUNTIMES build prefers the x86-64-unknown-linux-gnu triple notation for the host. This fixes runtime / test breakages when compiler-rt is used as the CLANG_DEFAULT_RTLIB.
1 parent c80cabf commit 1a0cf24

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+114
-119
lines changed

offload/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} powerpc64le-ibm-linux
192192
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} powerpc64le-ibm-linux-gnu-LTO")
193193
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} powerpc64-ibm-linux-gnu")
194194
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} powerpc64-ibm-linux-gnu-LTO")
195-
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} x86_64-pc-linux-gnu")
196-
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} x86_64-pc-linux-gnu-LTO")
195+
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} x86_64-unknown-linux-gnu")
196+
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} x86_64-unknown-linux-gnu-LTO")
197197
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} nvptx64-nvidia-cuda")
198198
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} nvptx64-nvidia-cuda-LTO")
199199
set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} nvptx64-nvidia-cuda-JIT-LTO")

offload/plugins-nextgen/host/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64$")
4949
set(LIBOMPTARGET_SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS}" PARENT_SCOPE)
5050
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64$")
5151
list(APPEND LIBOMPTARGET_SYSTEM_TARGETS
52-
"x86_64-pc-linux-gnu" "x86_64-pc-linux-gnu-LTO")
52+
"x86_64-unknown-linux-gnu" "x86_64-unknown-linux-gnu-LTO")
5353
set(LIBOMPTARGET_SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS}" PARENT_SCOPE)
5454
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64$")
5555
list(APPEND LIBOMPTARGET_SYSTEM_TARGETS

offload/test/api/is_initial_device.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
2-
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu -DUNUSED -Wall -Werror
1+
// RUN: %libomptarget-compile-run-and-check-x86_64-unknown-linux-gnu
2+
// RUN: %libomptarget-compile-x86_64-unknown-linux-gnu -DUNUSED -Wall -Werror
33

44
// only run for x86_64 host offloading:
5-
// REQUIRES: x86_64-pc-linux-gnu
5+
// REQUIRES: x86_64-unknown-linux-gnu
66

77
#include <omp.h>
88
#include <stdio.h>

offload/test/lit.cfg

+2-2
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ def add_libraries(source):
188188
host_targets = [
189189
"aarch64-unknown-linux-gnu",
190190
"aarch64-unknown-linux-gnu-LTO",
191-
"x86_64-pc-linux-gnu",
192-
"x86_64-pc-linux-gnu-LTO",
191+
"x86_64-unknown-linux-gnu",
192+
"x86_64-unknown-linux-gnu-LTO",
193193
"s390x-ibm-linux-gnu",
194194
"s390x-ibm-linux-gnu-LTO",
195195
]

offload/test/mapping/declare_mapper_nested_default_mappers_array.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
22
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
33
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
4-
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
4+
// RUN: %libomptarget-compilexx-run-and-check-x86_64-unknown-linux-gnu
55
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
66

77
// UNSUPPORTED: clang

offload/test/mapping/declare_mapper_nested_default_mappers_array_subscript.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
22
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
33
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
4-
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
4+
// RUN: %libomptarget-compilexx-run-and-check-x86_64-unknown-linux-gnu
55
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
66

77
#include <cstdio>

offload/test/mapping/declare_mapper_nested_default_mappers_complex_structure.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
22
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
33
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
4-
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
4+
// RUN: %libomptarget-compilexx-run-and-check-x86_64-unknown-linux-gnu
55
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
66

77
#include <assert.h>

offload/test/mapping/declare_mapper_nested_default_mappers_ptr_subscript.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
22
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
33
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
4-
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
4+
// RUN: %libomptarget-compilexx-run-and-check-x86_64-unknown-linux-gnu
55
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
66

77
#include <cstdio>

offload/test/mapping/declare_mapper_nested_default_mappers_var.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
22
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
33
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
4-
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
4+
// RUN: %libomptarget-compilexx-run-and-check-x86_64-unknown-linux-gnu
55
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
66

77
#include <cstdio>

offload/test/mapping/map_both_pointer_pointee.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
22
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
33
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
4-
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
4+
// RUN: %libomptarget-compilexx-run-and-check-x86_64-unknown-linux-gnu
55
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
66

77
// REQUIRES: unified_shared_memory

offload/test/mapping/target_pointers_members_map.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
22
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
33
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
4-
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
4+
// RUN: %libomptarget-compilexx-run-and-check-x86_64-unknown-linux-gnu
55
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
66

77
#include <cstdio>

offload/test/offloading/CUDA/basic_launch.cu

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
// UNSUPPORTED: aarch64-unknown-linux-gnu
99
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
10-
// UNSUPPORTED: x86_64-pc-linux-gnu
11-
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
10+
// UNSUPPORTED: x86_64-unknown-linux-gnu
11+
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1212

1313
#include <stdio.h>
1414

offload/test/offloading/CUDA/basic_launch_blocks_and_threads.cu

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
// UNSUPPORTED: aarch64-unknown-linux-gnu
99
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
10-
// UNSUPPORTED: x86_64-pc-linux-gnu
11-
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
10+
// UNSUPPORTED: x86_64-unknown-linux-gnu
11+
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1212

1313
#include <stdio.h>
1414

offload/test/offloading/CUDA/basic_launch_multi_arg.cu

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
// UNSUPPORTED: aarch64-unknown-linux-gnu
99
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
10-
// UNSUPPORTED: x86_64-pc-linux-gnu
11-
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
10+
// UNSUPPORTED: x86_64-unknown-linux-gnu
11+
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1212

1313
#include <stdio.h>
1414

offload/test/offloading/CUDA/launch_tu.cu

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
// UNSUPPORTED: aarch64-unknown-linux-gnu
99
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
10-
// UNSUPPORTED: x86_64-pc-linux-gnu
11-
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
10+
// UNSUPPORTED: x86_64-unknown-linux-gnu
11+
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1212

1313
#include <stdio.h>
1414

offload/test/offloading/dynamic-schedule-non-spmd.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
// UNSUPPORTED: aarch64-unknown-linux-gnu
66
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
7-
// UNSUPPORTED: x86_64-pc-linux-gnu
8-
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
7+
// UNSUPPORTED: x86_64-unknown-linux-gnu
8+
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
99
// UNSUPPORTED: s390x-ibm-linux-gnu
1010
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1111

offload/test/offloading/dynamic-schedule.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
// UNSUPPORTED: aarch64-unknown-linux-gnu
66
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
7-
// UNSUPPORTED: x86_64-pc-linux-gnu
8-
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
7+
// UNSUPPORTED: x86_64-unknown-linux-gnu
8+
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
99
// UNSUPPORTED: s390x-ibm-linux-gnu
1010
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1111

offload/test/offloading/fortran/dtype-array-constant-index-map.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
! UNSUPPORTED: nvptx64-nvidia-cuda-LTO
1111
! UNSUPPORTED: aarch64-unknown-linux-gnu
1212
! UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
13-
! UNSUPPORTED: x86_64-pc-linux-gnu
14-
! UNSUPPORTED: x86_64-pc-linux-gnu-LTO
13+
! UNSUPPORTED: x86_64-unknown-linux-gnu
14+
! UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1515

1616
! RUN: %libomptarget-compile-fortran-run-and-check-generic
1717
module test_0

offload/test/offloading/fortran/dump_map_tables.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
! UNSUPPORTED: nvptx64-nvidia-cuda-LTO
66
! UNSUPPORTED: aarch64-unknown-linux-gnu
77
! UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
8-
! UNSUPPORTED: x86_64-pc-linux-gnu
9-
! UNSUPPORTED: x86_64-pc-linux-gnu-LTO
8+
! UNSUPPORTED: x86_64-unknown-linux-gnu
9+
! UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1010

1111
! RUN: %libomptarget-compile-fortran-run-and-check-generic
1212

offload/test/offloading/fortran/target-depend.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
! UNSUPPORTED: nvptx64-nvidia-cuda-LTO
66
! UNSUPPORTED: aarch64-unknown-linux-gnu
77
! UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
8-
! UNSUPPORTED: x86_64-pc-linux-gnu
9-
! UNSUPPORTED: x86_64-pc-linux-gnu-LTO
8+
! UNSUPPORTED: x86_64-unknown-linux-gnu
9+
! UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1010

1111
! RUN: %libomptarget-compile-fortran-run-and-check-generic
1212
program main

offload/test/offloading/fortran/target-map-all-common-block-members.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
! UNSUPPORTED: nvptx64-nvidia-cuda-LTO
77
! UNSUPPORTED: aarch64-unknown-linux-gnu
88
! UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
9-
! UNSUPPORTED: x86_64-pc-linux-gnu
10-
! UNSUPPORTED: x86_64-pc-linux-gnu-LTO
9+
! UNSUPPORTED: x86_64-unknown-linux-gnu
10+
! UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1111

1212
! RUN: %libomptarget-compile-fortran-run-and-check-generic
1313
program main

offload/test/offloading/fortran/target-map-common-block.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
! UNSUPPORTED: nvptx64-nvidia-cuda-LTO
77
! UNSUPPORTED: aarch64-unknown-linux-gnu
88
! UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
9-
! UNSUPPORTED: x86_64-pc-linux-gnu
10-
! UNSUPPORTED: x86_64-pc-linux-gnu-LTO
9+
! UNSUPPORTED: x86_64-unknown-linux-gnu
10+
! UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1111

1212
! RUN: %libomptarget-compile-fortran-run-and-check-generic
1313
program main

offload/test/offloading/fortran/target-map-declare-target-link-common-block.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
! UNSUPPORTED: nvptx64-nvidia-cuda-LTO
88
! UNSUPPORTED: aarch64-unknown-linux-gnu
99
! UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
10-
! UNSUPPORTED: x86_64-pc-linux-gnu
11-
! UNSUPPORTED: x86_64-pc-linux-gnu-LTO
10+
! UNSUPPORTED: x86_64-unknown-linux-gnu
11+
! UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1212

1313
! RUN: %libomptarget-compile-fortran-run-and-check-generic
1414
program main

offload/test/offloading/fortran/target-map-first-common-block-member.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
! UNSUPPORTED: nvptx64-nvidia-cuda-LTO
77
! UNSUPPORTED: aarch64-unknown-linux-gnu
88
! UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
9-
! UNSUPPORTED: x86_64-pc-linux-gnu
10-
! UNSUPPORTED: x86_64-pc-linux-gnu-LTO
9+
! UNSUPPORTED: x86_64-unknown-linux-gnu
10+
! UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1111

1212
! RUN: %libomptarget-compile-fortran-run-and-check-generic
1313
program main

offload/test/offloading/fortran/target-map-mix-imp-exp-common-block-members.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
! UNSUPPORTED: nvptx64-nvidia-cuda-LTO
88
! UNSUPPORTED: aarch64-unknown-linux-gnu
99
! UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
10-
! UNSUPPORTED: x86_64-pc-linux-gnu
11-
! UNSUPPORTED: x86_64-pc-linux-gnu-LTO
10+
! UNSUPPORTED: x86_64-unknown-linux-gnu
11+
! UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1212

1313
! RUN: %libomptarget-compile-fortran-run-and-check-generic
1414
program main

offload/test/offloading/fortran/target-map-second-common-block-member.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
! UNSUPPORTED: nvptx64-nvidia-cuda-LTO
77
! UNSUPPORTED: aarch64-unknown-linux-gnu
88
! UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
9-
! UNSUPPORTED: x86_64-pc-linux-gnu
10-
! UNSUPPORTED: x86_64-pc-linux-gnu-LTO
9+
! UNSUPPORTED: x86_64-unknown-linux-gnu
10+
! UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1111

1212
! RUN: %libomptarget-compile-fortran-run-and-check-generic
1313
program main

offload/test/offloading/high_trip_count_block_limit.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
// UNSUPPORTED: aarch64-unknown-linux-gnu
66
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
7-
// UNSUPPORTED: x86_64-pc-linux-gnu
8-
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
7+
// UNSUPPORTED: x86_64-unknown-linux-gnu
8+
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
99
// UNSUPPORTED: s390x-ibm-linux-gnu
1010
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1111
// clang-format on

offload/test/offloading/schedule.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
// UNSUPPORTED: aarch64-unknown-linux-gnu
66
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
7-
// UNSUPPORTED: x86_64-pc-linux-gnu
8-
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
7+
// UNSUPPORTED: x86_64-unknown-linux-gnu
8+
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
99
// UNSUPPORTED: s390x-ibm-linux-gnu
1010
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1111

offload/test/sanitizer/double_free.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
// clang-format off
22
// RUN: %libomptarget-compileopt-generic
3-
// RUN: %not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_ALLOCATION_TRACES=1 %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefixes=CHECK,NDEBG
3+
// RUN: %not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_ALLOCATION_TRACES=1 %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefixes=CHECK,NDEBG
44
// RUN: %libomptarget-compileopt-generic -g
55
// RUN: %not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_ALLOCATION_TRACES=1 %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefixes=CHECK,DEBUG
66
// clang-format on
77

88
// UNSUPPORTED: aarch64-unknown-linux-gnu
99
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
10-
// UNSUPPORTED: x86_64-pc-linux-gnu
11-
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
10+
// UNSUPPORTED: x86_64-unknown-linux-gnu
11+
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1212
// UNSUPPORTED: s390x-ibm-linux-gnu
1313
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1414

offload/test/sanitizer/double_free_racy.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
// UNSUPPORTED: aarch64-unknown-linux-gnu
99
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
10-
// UNSUPPORTED: x86_64-pc-linux-gnu
11-
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
10+
// UNSUPPORTED: x86_64-unknown-linux-gnu
11+
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1212
// UNSUPPORTED: s390x-ibm-linux-gnu
1313
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1414

offload/test/sanitizer/free_host_ptr.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
// clang-format off
22
// RUN: %libomptarget-compileopt-generic
3-
// RUN: %not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_ALLOCATION_TRACES=1 %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefixes=CHECK,NDEBG
3+
// RUN: %not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_ALLOCATION_TRACES=1 %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefixes=CHECK,NDEBG
44
// RUN: %libomptarget-compileopt-generic -g
55
// RUN: %not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_ALLOCATION_TRACES=1 %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefixes=CHECK,DEBUG
66
// clang-format on
77

88
// UNSUPPORTED: aarch64-unknown-linux-gnu
99
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
10-
// UNSUPPORTED: x86_64-pc-linux-gnu
11-
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
10+
// UNSUPPORTED: x86_64-unknown-linux-gnu
11+
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1212
// UNSUPPORTED: s390x-ibm-linux-gnu
1313
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1414

offload/test/sanitizer/free_wrong_ptr_kind.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
// clang-format off
22
// RUN: %libomptarget-compileopt-generic
3-
// RUN: %not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_ALLOCATION_TRACES=1 %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefixes=CHECK,NDEBG
3+
// RUN: %not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_ALLOCATION_TRACES=1 %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefixes=CHECK,NDEBG
44
// RUN: %libomptarget-compileopt-generic -g
55
// RUN: %not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_ALLOCATION_TRACES=1 %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefixes=CHECK,DEBUG
66
// clang-format on
77

88
// UNSUPPORTED: aarch64-unknown-linux-gnu
99
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
10-
// UNSUPPORTED: x86_64-pc-linux-gnu
11-
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
10+
// UNSUPPORTED: x86_64-unknown-linux-gnu
11+
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1212
// UNSUPPORTED: s390x-ibm-linux-gnu
1313
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1414

@@ -22,8 +22,8 @@ int main(void) {
2222
}
2323

2424
// clang-format off
25-
// CHECK: OFFLOAD ERROR: deallocation requires device memory but allocation was pinned host memory: 0x
26-
// CHECK: dataDelete
25+
// CHECK: OFFLOAD ERROR: deallocation requires device memory but allocation was pinned host memory: 0x
26+
// CHECK: dataDelete
2727
// CHECK: omp_target_free
2828
// NDEBG: main
2929
// DEBUG: main {{.*}}free_wrong_ptr_kind.c:22

offload/test/sanitizer/free_wrong_ptr_kind.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
// clang-format off
22
// RUN: %libomptarget-compileoptxx-generic
3-
// RUN: %not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_ALLOCATION_TRACES=1 %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefixes=CHECK,NDEBG
3+
// RUN: %not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_ALLOCATION_TRACES=1 %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefixes=CHECK,NDEBG
44
// RUN: %libomptarget-compileoptxx-generic -g
55
// RUN: %not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_ALLOCATION_TRACES=1 %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefixes=CHECK,DEBUG
66
// clang-format on
77

88
// UNSUPPORTED: aarch64-unknown-linux-gnu
99
// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
10-
// UNSUPPORTED: x86_64-pc-linux-gnu
11-
// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
10+
// UNSUPPORTED: x86_64-unknown-linux-gnu
11+
// UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
1212
// UNSUPPORTED: s390x-ibm-linux-gnu
1313
// UNSUPPORTED: s390x-ibm-linux-gnu-LTO
1414

@@ -26,7 +26,7 @@ int main(void) {
2626

2727
// clang-format off
2828
// CHECK: OFFLOAD ERROR: deallocation requires pinned host memory but allocation was managed memory: 0x
29-
// CHECK: dataDelete
29+
// CHECK: dataDelete
3030
// CHECK: llvm_omp_target_free_host
3131
// NDEBG: main
3232
// DEBUG: main {{.*}}free_wrong_ptr_kind.cpp:25

0 commit comments

Comments
 (0)