You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
39
external/llvm/test/Object/archive-GNU64-write.test
vendored
Normal file
39
external/llvm/test/Object/archive-GNU64-write.test
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
# REQUIRES: llvm-64-bits
|
||||
# REQUIRES: system-linux
|
||||
|
||||
# RUN: yaml2obj %s > %t
|
||||
# RUN: dd if=%t of=%t bs=1 count=0 seek=1M
|
||||
# RUN: rm -f %t.lib
|
||||
# RUN: cp %t %t2
|
||||
# RUN: llvm-ar -sym64-threshold=19 cr %t.lib %t %t2 %p/Inputs/trivial-object-test.elf-x86-64
|
||||
# RUN: llvm-nm --print-armap %t.lib | FileCheck %s
|
||||
# RUN: grep SYM64 %t.lib
|
||||
|
||||
# Delete temp files. They are too large.
|
||||
# RUN: rm -f %t %t2 %t.lib
|
||||
|
||||
!ELF
|
||||
FileHeader:
|
||||
Class: ELFCLASS64
|
||||
Data: ELFDATA2LSB
|
||||
Type: ET_EXEC
|
||||
Machine: EM_X86_64
|
||||
Sections:
|
||||
- Name: .data
|
||||
Type: SHT_PROGBITS
|
||||
Flags: [ SHF_ALLOC ]
|
||||
AddressAlign: 0x0000000000000001
|
||||
Content: "00"
|
||||
Size: 32
|
||||
|
||||
# CHECK: Archive map
|
||||
# CHECK-NEXT: main in trivial-object-test.elf-x86-64
|
||||
|
||||
# CHECK: archive-GNU64-write.test.tmp:
|
||||
|
||||
# CHECK: archive-GNU64-write.test.tmp2:
|
||||
|
||||
# CHECK: trivial-object-test.elf-x86-64:
|
||||
# CHECK-NEXT: U SomeOtherFunction
|
||||
# CHECK-NEXT: 0000000000000000 T main
|
||||
# CHECK-NEXT: U puts
|
Reference in New Issue
Block a user