llvm-project/llvm/lib/MC/MCParser
Lang Hames 1b640e05ba [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
..
AsmLexer.cpp Remove uses of builtin comma operator. 2016-02-18 22:09:30 +00:00
AsmParser.cpp [MachO] Add MachO alt-entry directive support. 2016-03-15 01:43:05 +00:00
CMakeLists.txt Fix header path in CMake. NFC. 2015-06-19 20:49:02 +00:00
COFFAsmParser.cpp Move MCTargetAsmParser.h to llvm/MC/MCParser where it belongs. 2016-01-27 10:01:28 +00:00
DarwinAsmParser.cpp Use std::unique_ptr. NFC. 2015-12-16 23:49:14 +00:00
ELFAsmParser.cpp Stop producing .data.rel sections. 2015-11-18 06:02:15 +00:00
LLVMBuild.txt
MCAsmLexer.cpp [AsmParser] Allow tokens to be put back in to the token stream. 2015-11-08 23:48:23 +00:00
MCAsmParser.cpp Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment. 2016-01-29 20:50:44 +00:00
MCAsmParserExtension.cpp
MCTargetAsmParser.cpp Move MCTargetAsmParser.h to llvm/MC/MCParser where it belongs. 2016-01-27 10:01:28 +00:00