mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
5d446e61d9
Build attribute sections can now be read if they exist via ELFObjectFile, and the llvm-readobj tool has been extended with an option to dump this information if requested. Regression tests are also included which exercise these features. Also update the docs with a fixed ARM ABI link and a new link to the Addenda which provides the build attributes specification. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181009 91177308-0d34-0410-b5e6-96231b3b80d8
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
RUN: llvm-readobj -arm-buildattrs %p/Inputs/trivial-object-test.elf-arm \
|
|
RUN: | FileCheck %s -check-prefix=SMALL
|
|
RUN: llvm-readobj -arm-buildattrs %p/Inputs/arm-attributes.elf-arm \
|
|
RUN: | FileCheck %s -check-prefix=LARGE
|
|
|
|
SMALL: ARMBuildAttributes {
|
|
SMALL: Tag_CPU_name: Cortex-A8
|
|
SMALL: Tag_CPU_arch: 10
|
|
SMALL: Tag_ARM_ISA_use: 1
|
|
SMALL: Tag_THUMB_ISA_use: 2
|
|
SMALL: Tag_FP_arch: 3
|
|
SMALL: Tag_Advanced_SIMD_arch: 1
|
|
SMALL: Tag_ABI_FP_denormal: 1
|
|
SMALL: Tag_ABI_FP_exceptions: 1
|
|
SMALL: Tag_ABI_FP_number_model: 3
|
|
SMALL: Tag_ABI_align8_needed: 1
|
|
SMALL: Tag_ABI_align8_preserved: 1
|
|
SMALL: Tag_ABI_HardFP_use: 3
|
|
SMALL: Tag_ABI_VFP_args: 1
|
|
SMALL: Tag_DIV_use: 1
|
|
SMALL: Tag_Virtualization_use: 1
|
|
|
|
LARGE: ARMBuildAttributes {
|
|
LARGE: Tag_CPU_name: iwmmxt2
|
|
LARGE: Tag_CPU_arch: 4
|
|
LARGE: Tag_ARM_ISA_use: 1
|
|
LARGE: Tag_THUMB_ISA_use: 1
|
|
LARGE: Tag_WMMX_arch: 2
|
|
LARGE: Tag_Advanced_SIMD_arch: 1
|
|
LARGE: Tag_ABI_PCS_RW_data: 3
|
|
LARGE: Tag_ABI_PCS_GOT_use: 2
|
|
LARGE: Tag_ABI_PCS_wchar_t: 4
|
|
LARGE: Tag_ABI_FP_rounding: 1
|
|
LARGE: Tag_ABI_FP_denormal: 1
|
|
LARGE: Tag_ABI_FP_exceptions: 1
|
|
LARGE: Tag_ABI_FP_number_model: 3
|
|
LARGE: Tag_ABI_align8_needed: 1
|
|
LARGE: Tag_ABI_align8_preserved: 1
|
|
LARGE: Tag_ABI_enum_size: 2
|
|
LARGE: Tag_ABI_HardFP_use: 3
|
|
LARGE: Tag_ABI_VFP_args: 1
|
|
LARGE: Tag_ABI_optimization_goals: 1
|
|
LARGE: Tag_CPU_unaligned_access: 1
|
|
LARGE: Tag_FP_HP_extension: 1
|
|
LARGE: Tag_DIV_use: 1
|
|
LARGE: Tag_T2EE_use: 1
|