mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
Add a test for common symbols in coff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200803 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
51ca0040e6
commit
9b06b0fd55
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