summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-size
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-04-26 13:42:16 +0000
committerFangrui Song <maskray@google.com>2019-04-26 13:42:16 +0000
commit41327e352285df0f437affc5d6b1522ad650f750 (patch)
tree33bb6cee9015c5991e4d67155d25cce89f390483 /llvm/test/tools/llvm-size
parent3153764c88c1ae0fa2223ce31112ef0e5e286c98 (diff)
downloadbcm5719-llvm-41327e352285df0f437affc5d6b1522ad650f750.tar.gz
bcm5719-llvm-41327e352285df0f437affc5d6b1522ad650f750.zip
[llvm-nm][llvm-size] Use --double-dash options in tests
llvm-svn: 359308
Diffstat (limited to 'llvm/test/tools/llvm-size')
-rw-r--r--llvm/test/tools/llvm-size/X86/test-common.s10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/tools/llvm-size/X86/test-common.s b/llvm/test/tools/llvm-size/X86/test-common.s
index 8445c784e72..4b61d24f832 100644
--- a/llvm/test/tools/llvm-size/X86/test-common.s
+++ b/llvm/test/tools/llvm-size/X86/test-common.s
@@ -1,10 +1,10 @@
-// #Check that with common switch commons are added to bss or
+// #Check that with common switch commons are added to bss or
// #Shown as *COM* otherwise their size is discounted
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
-// RUN: llvm-size -A -common %t.o | FileCheck --check-prefix="SYSV" %s
-// RUN: llvm-size -B -common %t.o| FileCheck --check-prefix="BSD" %s
-// RUN: llvm-size -A %t.o | FileCheck --check-prefix="SYSVNOCOMM" %s
-// RUN: llvm-size -B %t.o| FileCheck --check-prefix="BSDNOCOMM" %s
+// RUN: llvm-size -A --common %t.o | FileCheck --check-prefix=SYSV %s
+// RUN: llvm-size -B --common %t.o | FileCheck --check-prefix=BSD %s
+// RUN: llvm-size -A %t.o | FileCheck --check-prefix=SYSVNOCOMM %s
+// RUN: llvm-size -B %t.o | FileCheck --check-prefix=BSDNOCOMM %s
.type x,@object
.comm x,4,4
.type y,@object
OpenPOWER on IntegriCloud