mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:50:30 +00:00
Add a test for common symbols in coff.
llvm-svn: 200803
This commit is contained in:
parent
d33bc83b50
commit
14250cad7d
BIN
test/Object/Inputs/common.coff-i386
Normal file
BIN
test/Object/Inputs/common.coff-i386
Normal file
Binary file not shown.
@ -10,6 +10,8 @@ RUN: llvm-nm %p/Inputs/trivial-object-test.macho-i386 \
|
||||
RUN: | FileCheck %s -check-prefix macho
|
||||
RUN: llvm-nm %p/Inputs/trivial-object-test.macho-x86-64 \
|
||||
RUN: | FileCheck %s -check-prefix macho64
|
||||
RUN: llvm-nm %p/Inputs/common.coff-i386 \
|
||||
RUN: | FileCheck %s -check-prefix COFF-COMMON
|
||||
|
||||
COFF: 00000000 d .data
|
||||
COFF: 00000000 t .text
|
||||
@ -18,6 +20,15 @@ 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-NEXT: C _a
|
||||
|
||||
|
||||
ELF-NOT: U
|
||||
ELF: U SomeOtherFunction
|
||||
ELF: 00000000 T main
|
||||
|
Loading…
Reference in New Issue
Block a user