Skip to content

Commit 80df56f

Browse files
author
Yuanfang Chen
committed
Fix test case in b4a8c0e
1 parent 182b831 commit 80df56f

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

‎llvm/test/MC/ELF/lto-discard.s‎

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
// Check that ".lto_discard" ignores symbol assignments and attribute changes
22
// for the specified symbols.
3-
// RUN: llvm-mc -triple x86_64 < %s | FileCheck %s
3+
// RUN: llvm-mc -triple x86_64-pc-linux-gnu < %s | FileCheck %s
44

55
// Check that ".lto_discard" only accepts identifiers.
6-
// RUN: not llvm-mc -filetype=obj -triple x86_64 --defsym ERR=1 %s 2>&1 |\
6+
// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu --defsym ERR=1 %s 2>&1 |\
77
// RUN: FileCheck %s --check-prefix=ERR
88

9-
// CHECK: .weak foo
10-
// CHECK: foo:
11-
// CHECK: .byte 1
12-
// CHECK: .weak bar
13-
// CHECK: bar:
14-
// CHECK: .byte 2
9+
// CHECK-NOT: .weak foo
10+
// CHECK-NOT: foo:
11+
// CHECK: .weak bar
12+
// CHECK: bar:
13+
// CHECK: .byte 2
1514

1615
.lto_discard foo
1716
.weak foo

0 commit comments

Comments
 (0)