[llvm] r238018 - Make this test stricter. NFC.
Rafael Espindola
rafael.espindola at gmail.com
Fri May 22 06:17:31 PDT 2015
Author: rafael
Date: Fri May 22 08:17:31 2015
New Revision: 238018
URL: http://llvm.org/viewvc/llvm-project?rev=238018&view=rev
Log:
Make this test stricter. NFC.
Modified:
llvm/trunk/test/Object/nm-trivial-object.test
Modified: llvm/trunk/test/Object/nm-trivial-object.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/nm-trivial-object.test?rev=238018&r1=238017&r2=238018&view=diff
==============================================================================
--- llvm/trunk/test/Object/nm-trivial-object.test (original)
+++ llvm/trunk/test/Object/nm-trivial-object.test Fri May 22 08:17:31 2015
@@ -1,7 +1,7 @@
RUN: yaml2obj %p/Inputs/COFF/i386.yaml | llvm-nm -a -S - \
-RUN: | FileCheck %s -check-prefix COFF
+RUN: | FileCheck %s -check-prefix COFF32
RUN: yaml2obj %p/Inputs/COFF/x86-64.yaml | llvm-nm -a -S - \
-RUN: | FileCheck %s -check-prefix COFF
+RUN: | FileCheck %s -check-prefix COFF64
RUN: llvm-nm %p/Inputs/trivial-object-test.elf-i386 \
RUN: | FileCheck %s -check-prefix ELF
RUN: llvm-nm -o %p/Inputs/trivial-object-test.elf-i386 \
@@ -48,12 +48,20 @@ RUN: cp %p/Inputs/trivial-object-test.ma
RUN: llvm-nm | FileCheck %s -check-prefix A-OUT
-COFF: 00000000 {{.*}} d .data
-COFF: 00000000 {{.*}} t .text
-COFF: 00000000 0000000d d L{{_?}}.str
-COFF: U {{_?}}SomeOtherFunction
-COFF: 00000000 {{.*}} T {{_?}}main
-COFF: U {{_?}}puts
+COFF32: 00000000 {{.*}} d .data
+COFF32-NEXT: 00000000 {{.*}} t .text
+COFF32-NEXT: 00000000 0000000d d L_.str
+COFF32-NEXT: U _SomeOtherFunction
+COFF32-NEXT: 00000000 {{.*}} T _main
+COFF32-NEXT: U _puts
+
+COFF64: 00000000 {{.*}} d .data
+COFF64-NEXT: 00000000 {{.*}} t .text
+COFF64-NEXT: 00000000 00000008 r ??__Ex@@YAXXZ
+COFF64-NEXT: 00000000 0000000d d L.str
+COFF64-NEXT: U SomeOtherFunction
+COFF64-NEXT: 00000000 {{.*}} T main
+COFF64-NEXT: U puts
COFF-COMMON: 00000000 00000000 b .bss
COFF-COMMON-NEXT: 00000000 00000000 d .data
More information about the llvm-commits
mailing list