mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
6fc6c6773a
Mostly this adds testing for certain aliases in more explicit ways. There are also a few tidy-ups, and additions of missing testing, where the feature was either not tested at all, or not tested explicitly and sufficiently. Reviewed by: MaskRay, rupprecht, grimar Differential Revision: https://reviews.llvm.org/D71116
21 lines
465 B
Plaintext
21 lines
465 B
Plaintext
# RUN: yaml2obj %s -o %t.o
|
|
# RUN: llvm-nm --print-size %t.o | FileCheck %s --strict-whitespace
|
|
# RUN: llvm-nm -S %t.o | FileCheck %s --strict-whitespace
|
|
|
|
!ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
Type: ET_REL
|
|
Machine: EM_X86_64
|
|
Sections:
|
|
- Name: .text
|
|
Type: SHT_PROGBITS
|
|
Symbols:
|
|
- Name: a_symbol
|
|
Size: 0x123456789abcdef0
|
|
Section: .text
|
|
Binding: STB_GLOBAL
|
|
|
|
# CHECK: 0000000000000000 123456789abcdef0 N a_symbol
|