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
..
2016-01-26 00:03:25 +00:00
2014-10-16 20:00:02 +00:00
2014-12-15 22:34:58 +00:00
2016-01-26 18:22:50 +00:00
2016-01-16 15:25:02 +00:00
2016-01-16 15:25:02 +00:00
2015-11-30 19:04:19 +00:00
2016-01-05 00:48:16 +00:00
2015-04-06 22:29:07 +00:00
2015-04-06 22:29:07 +00:00
2015-03-06 20:51:25 +00:00
2015-09-29 22:09:16 +00:00
2015-01-08 07:57:27 +00:00
2014-05-06 01:20:42 +00:00
2016-01-26 00:03:25 +00:00
2015-11-24 22:09:31 +00:00
2016-02-20 17:56:45 +00:00
2015-08-25 07:42:09 +00:00
2015-06-02 22:33:30 +00:00
2015-05-28 22:12:27 +00:00
2014-12-03 02:08:38 +00:00
2014-12-03 02:08:38 +00:00
2016-02-18 18:44:33 +00:00
2015-12-16 11:22:37 +00:00
2015-12-16 11:22:37 +00:00
2015-02-05 23:52:12 +00:00
2016-02-18 18:44:33 +00:00
2016-02-18 18:44:33 +00:00
2015-01-26 21:28:32 +00:00
2016-02-15 17:57:40 +00:00
2015-12-05 19:54:59 +00:00
2015-08-28 17:19:54 +00:00
2015-12-12 12:52:52 +00:00
2015-02-11 15:00:19 +00:00
2015-03-06 21:30:18 +00:00
2015-03-06 20:38:55 +00:00
2015-03-06 20:46:16 +00:00
2015-02-11 14:58:25 +00:00
2015-08-19 16:17:08 +00:00