[llvm] r219320 - Print symbol sizes in this test in preparation for fixing COFF common sizes.
Rafael Espindola
rafael.espindola at gmail.com
Wed Oct 8 10:19:42 PDT 2014
Author: rafael
Date: Wed Oct 8 12:19:42 2014
New Revision: 219320
URL: http://llvm.org/viewvc/llvm-project?rev=219320&view=rev
Log:
Print symbol sizes in this test in preparation for fixing COFF common sizes.
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=219320&r1=219319&r2=219320&view=diff
==============================================================================
--- llvm/trunk/test/Object/nm-trivial-object.test (original)
+++ llvm/trunk/test/Object/nm-trivial-object.test Wed Oct 8 12:19:42 2014
@@ -36,7 +36,7 @@ RUN: llvm-nm -p -a %p/Inputs/macho-hello
RUN: | FileCheck %s -check-prefix macho-pa
RUN: llvm-nm -u %p/Inputs/macho-hello-g.macho-x86_64 \
RUN: | FileCheck %s -check-prefix macho-u
-RUN: llvm-nm %p/Inputs/common.coff-i386 \
+RUN: llvm-nm -S %p/Inputs/common.coff-i386 \
RUN: | FileCheck %s -check-prefix COFF-COMMON
RUN: llvm-nm %p/Inputs/relocatable-with-section-address.elf-x86-64 \
RUN: | FileCheck %s -check-prefix ELF-SEC-ADDR64
@@ -56,12 +56,12 @@ COFF: U {{_?}}SomeOtherFunction
COFF: 00000000 T {{_?}}main
COFF: U {{_?}}puts
-COFF-COMMON: 00000000 b .bss
-COFF-COMMON-NEXT: 00000000 d .data
-COFF-COMMON-NEXT: 00000000 d .drectve
-COFF-COMMON-NEXT: 00000000 n .file
-COFF-COMMON-NEXT: 00000000 r .rdata$zzz
-COFF-COMMON-NEXT: 00000000 t .text
+COFF-COMMON: 00000000 00000000 b .bss
+COFF-COMMON-NEXT: 00000000 00000000 d .data
+COFF-COMMON-NEXT: 00000000 00000014 d .drectve
+COFF-COMMON-NEXT: 00000000 00000000 n .file
+COFF-COMMON-NEXT: 00000000 00000014 r .rdata$zzz
+COFF-COMMON-NEXT: 00000000 00000000 t .text
COFF-COMMON-NEXT: C _a
More information about the llvm-commits
mailing list