Skip to content

Commit 41327e3

Browse files
committed
[llvm-nm][llvm-size] Use --double-dash options in tests
llvm-svn: 359308
1 parent 3153764 commit 41327e3

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
@ RUN: llvm-nm -print-size -arch armv7m %p/Inputs/print-size.macho-armv7m 2>&1 | FileCheck %s
1+
@ RUN: llvm-nm --print-size --arch armv7m %p/Inputs/print-size.macho-armv7m 2>&1 | FileCheck %s
22

33
@ CHECK: warning: sizes with -print-size for Mach-O files are always zero.

llvm/test/tools/llvm-nm/X86/archive-no-llvm-bc.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; RUN: grep -v "module asm" %s | llvm-as -o %t/embedded.bc
33
; RUN: llc -I=%t -filetype=obj -o %t/obj.o %s
44
; RUN: llvm-ar crs %t/lib.a %t/obj.o
5-
; RUN: llvm-nm -m -no-llvm-bc %t/lib.a | FileCheck %s
5+
; RUN: llvm-nm -m --no-llvm-bc %t/lib.a | FileCheck %s
66

77
target triple = "x86_64-apple-macosx10.11"
88

llvm/test/tools/llvm-size/X86/test-common.s

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// #Check that with common switch commons are added to bss or
1+
// #Check that with common switch commons are added to bss or
22
// #Shown as *COM* otherwise their size is discounted
33
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
4-
// RUN: llvm-size -A -common %t.o | FileCheck --check-prefix="SYSV" %s
5-
// RUN: llvm-size -B -common %t.o| FileCheck --check-prefix="BSD" %s
6-
// RUN: llvm-size -A %t.o | FileCheck --check-prefix="SYSVNOCOMM" %s
7-
// RUN: llvm-size -B %t.o| FileCheck --check-prefix="BSDNOCOMM" %s
4+
// RUN: llvm-size -A --common %t.o | FileCheck --check-prefix=SYSV %s
5+
// RUN: llvm-size -B --common %t.o | FileCheck --check-prefix=BSD %s
6+
// RUN: llvm-size -A %t.o | FileCheck --check-prefix=SYSVNOCOMM %s
7+
// RUN: llvm-size -B %t.o | FileCheck --check-prefix=BSDNOCOMM %s
88
.type x,@object
99
.comm x,4,4
1010
.type y,@object

0 commit comments

Comments
 (0)