1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/tools/llvm-readobj
Lang Hames e025323d29 [MachO] Add MachO alt-entry directive support.
This patch adds support for the MachO .alt_entry assembly directive, and uses
it for global aliases with non-zero GEP offsets. The alt_entry flag indicates
that a symbol should be layed out immediately after the preceding symbol.
Conceptually it introduces an alternate entry point for a function or data
structure. E.g.:

safe_foo:
  // check preconditions for foo
.alt_entry fast_foo
fast_foo:
  // body of foo, can assume preconditions.

The .alt_entry flag is also implicitly set on assembly aliases of the form:

a = b + C

where C is a non-zero constant, since these have the same effect as an
alt_entry symbol: they introduce a label that cannot be moved relative to the
preceding one. Setting the alt_entry flag on aliases of this form fixes
http://llvm.org/PR25381.

llvm-svn: 263521
2016-03-15 01:43:05 +00:00
..
ARMAttributeParser.cpp [ARM] Add DSP build attribute and extension targeting 2016-01-25 11:26:11 +00:00
ARMAttributeParser.h [ARM] Add DSP build attribute and extension targeting 2016-01-25 11:26:11 +00:00
ARMEHABIPrinter.h One more batch of self-containing headers. 2016-01-27 19:29:56 +00:00
ARMWinEHPrinter.cpp Remove uses of builtin comma operator. 2016-02-18 22:09:30 +00:00
ARMWinEHPrinter.h Support: Delete {aligned_,}{u,}{little,big}8_t 2014-09-11 21:46:33 +00:00
CMakeLists.txt llvm-readobj: Dump more info for COFF import libraries. 2015-08-28 10:27:50 +00:00
CodeView.h Silence gcc warning about ternary and enumerations 2016-01-28 23:59:35 +00:00
COFFDumper.cpp [codeview] Dump def range lengths in hex 2016-02-11 23:40:14 +00:00
COFFImportDumper.cpp llvm-readobj: Dump more info for COFF import libraries. 2015-08-28 10:27:50 +00:00
ELFDumper.cpp [llvm-readobj] Enable GNU style section group print 2016-03-09 19:16:13 +00:00
Error.cpp MSVC requires redeclarations to repeat noexcept 2014-11-03 20:35:30 +00:00
Error.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
llvm-readobj.cpp Fix typo. NFC. 2016-03-01 21:45:22 +00:00
llvm-readobj.h Fix typo. NFC. 2016-03-01 21:45:22 +00:00
LLVMBuild.txt Don't link with the archive library programs that don't use it. 2013-06-17 15:29:46 +00:00
MachODumper.cpp [MachO] Add MachO alt-entry directive support. 2016-03-15 01:43:05 +00:00
ObjDumper.cpp Re-sort #include lines again, prior to moving headers around. 2014-01-13 08:04:33 +00:00
ObjDumper.h [llvm-readobj] Add -elf-section-groups option 2016-01-26 19:46:39 +00:00
StackMapPrinter.h [StackMaps] Add a lightweight parser for stackmap version 1 sections. 2015-06-26 23:56:53 +00:00
StreamWriter.cpp Reverts change r261907 and r261918 2016-02-25 20:47:07 +00:00
StreamWriter.h Reverts change r261907 and r261918 2016-02-25 20:47:07 +00:00
Win64EHDumper.cpp Use makeArrayRef or None to avoid unnecessarily mentioning the ArrayRef type extra times. NFC 2015-09-21 05:32:41 +00:00
Win64EHDumper.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00