mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
f4e773ffcd
https://reviews.llvm.org/D60122 (r357595) changed the symbols description format. This change fix two more new test cases to fix BB: http://lab.llvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/16205/steps/test-stage1-compiler/logs/stdio llvm-svn: 357598
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
# RUN: yaml2obj %s -o %t
|
|
# RUN: llvm-readelf -V %t | FileCheck %s --check-prefix=HIDDEN
|
|
|
|
# HIDDEN: Version symbols section '.gnu.version' contains 2 entries:
|
|
# HIDDEN-NEXT: Addr: 0000000000200210 Offset: 0x000240 Link: 6 (.dynsym)
|
|
# HIDDEN-NEXT: 000: 0 (*local*) 3h(hiddensym)
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
Type: ET_EXEC
|
|
Machine: EM_X86_64
|
|
Entry: 0x0000000000201000
|
|
Sections:
|
|
- Name: .gnu.version
|
|
Type: SHT_GNU_versym
|
|
Flags: [ SHF_ALLOC ]
|
|
Address: 0x0000000000200210
|
|
Link: .dynsym
|
|
AddressAlign: 0x0000000000000002
|
|
EntSize: 0x0000000000000002
|
|
Entries: [ 0, 0x8003 ]
|
|
- Name: .gnu.version_r
|
|
Type: SHT_GNU_verneed
|
|
Flags: [ SHF_ALLOC ]
|
|
Address: 0x0000000000200250
|
|
Link: .dynstr
|
|
AddressAlign: 0x0000000000000004
|
|
Info: 0x0000000000000001
|
|
Dependencies:
|
|
- Version: 1
|
|
File: somefile
|
|
Entries:
|
|
- Name: hiddensym
|
|
Hash: 1234
|
|
Flags: 0
|
|
Other: 3
|
|
DynamicSymbols:
|
|
- Name: h
|
|
Binding: STB_GLOBAL
|
|
...
|