1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/MC/MachO/ARM
Alex Lorenz 6f0d069409 [macho] save the SDK version stored in module metadata into the version min and
build version load commands in the object file

This commit introduces a new metadata node called "SDK Version". It will be set
by the frontend to mark the platform SDK (macOS/iOS/etc) version which was used
during that particular compilation.
This node is used when machine code is emitted, by either saving the SDK version
into the appropriate macho load command (version min/build version), or by
emitting the assembly for these load commands with the SDK version specified as
well.
The assembly for both load commands is extended by allowing it to contain the
sdk_version X, Y [, Z] trailing directive to represent the SDK version
respectively.

rdar://45774000

Differential Revision: https://reviews.llvm.org/D55612

llvm-svn: 349119
2018-12-14 01:14:10 +00:00
..
aliased-symbols.s
bad-darwin-ARM-offset-scattered.s
bad-darwin-ARM-reloc.s
bad-darwin-directives.s
build-version-diagnostics.s
build-version-encode.s
build-version-sdk-version-errors.c
build-version-sdk-version.s
build-version.s
compact-unwind-armv7k.s
cstexpr-gotpcrel.ll
darwin-ARM-reloc.s
darwin-Thumb-reloc.s
data-in-code.s
directive-type-diagnostics.s
empty-function-nop.ll
ios-version-min-load-command.s
lit.local.cfg
llvm-objdump-macho-stripped.s
llvm-objdump-macho.s
long-call-branch-island-relocation.s
no-subsections-reloc.s
no-tls-assert.ll
nop-armv4-padding.s
nop-armv6t2-padding.s
nop-thumb2-padding.s
nop-thumb-padding.s
relax-thumb2-branches.s
relax-thumb-ldr-literal.s
static-movt-relocs.s
thumb2-function-relative-load.s
thumb2-movt-fixup.s
thumb2-movw-fixup.s
thumb-bl-jbits.s
tvos-version-min-load-command.s
version-min-diagnostics2.s
version-min-diagnostics.s
version-min.s
watchos-version-min-load-command.s