Skip to content

Commit 57822bc

Browse files
committed
[BPF] '-S -emit-llvm -> -emit-llvm' for attr-btf_type_tag-*.c tests
Newly added btf_type_tag related tests use 'clang -S -emit-llvm', which is now not accepted by 'clang'. Fix these tests by using only '-emit-llvm'. To be squashed with the main commit when when branch would be merged.
1 parent fbc598b commit 57822bc

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

clang/test/CodeGen/attr-btf_type_tag-circular.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %clang_cc1 \
22
// RUN: -triple %itanium_abi_triple -debug-info-kind=limited \
3-
// RUN: -mllvm -btf-type-tag-v2 -S -emit-llvm -o - %s | FileCheck %s
3+
// RUN: -mllvm -btf-type-tag-v2 -emit-llvm -o - %s | FileCheck %s
44

55
#define __tag1 __attribute__((btf_type_tag("tag1")))
66

clang/test/CodeGen/attr-btf_type_tag-const.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %clang_cc1 \
22
// RUN: -triple %itanium_abi_triple -debug-info-kind=limited \
3-
// RUN: -mllvm -btf-type-tag-v2 -S -emit-llvm -o - %s | FileCheck %s
3+
// RUN: -mllvm -btf-type-tag-v2 -emit-llvm -o - %s | FileCheck %s
44

55
// Check that BTF type tags are not attached to DW_TAG_const_type DIEs
66
// in presence of "sugar" expressions that are transparent for

clang/test/CodeGen/attr-btf_type_tag-restrict.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %clang_cc1 \
22
// RUN: -triple %itanium_abi_triple -debug-info-kind=limited \
3-
// RUN: -mllvm -btf-type-tag-v2 -S -emit-llvm -o - %s | FileCheck %s
3+
// RUN: -mllvm -btf-type-tag-v2 -emit-llvm -o - %s | FileCheck %s
44

55
// See attr-btf_type_tag-const.c for reasoning behind this test.
66
// Alternatively, see the following method:

clang/test/CodeGen/attr-btf_type_tag-void.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %clang_cc1 \
22
// RUN: -triple %itanium_abi_triple -debug-info-kind=limited \
3-
// RUN: -mllvm -btf-type-tag-v2 -S -emit-llvm -o - %s | FileCheck %s
3+
// RUN: -mllvm -btf-type-tag-v2 -emit-llvm -o - %s | FileCheck %s
44

55
#define __tag1 __attribute__((btf_type_tag("tag1")))
66
void __tag1 *g;

clang/test/CodeGen/attr-btf_type_tag-volatile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %clang_cc1 \
22
// RUN: -triple %itanium_abi_triple -debug-info-kind=limited \
3-
// RUN: -mllvm -btf-type-tag-v2 -S -emit-llvm -o - %s | FileCheck %s
3+
// RUN: -mllvm -btf-type-tag-v2 -emit-llvm -o - %s | FileCheck %s
44

55
// See attr-btf_type_tag-const.c for reasoning behind this test.
66
// Alternatively, see the following method:

0 commit comments

Comments
 (0)