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
..
2016-03-14 18:24:34 +00:00
2015-11-17 10:00:43 +00:00
2015-10-15 05:28:38 +00:00
2016-03-15 01:43:05 +00:00
2015-09-10 01:50:00 +00:00
2016-03-15 01:43:05 +00:00
2013-08-29 00:19:03 +00:00
2015-11-17 10:00:43 +00:00
2014-04-22 17:27:29 +00:00
2013-01-22 21:09:20 +00:00
2013-08-28 17:50:59 +00:00
2013-01-22 21:44:53 +00:00
2014-01-24 17:20:08 +00:00
2015-10-15 05:28:38 +00:00
2015-09-10 01:50:00 +00:00
2015-03-13 18:20:45 +00:00
2015-07-21 21:45:42 +00:00
2015-09-10 01:50:00 +00:00
2015-11-02 21:26:58 +00:00
2015-06-18 22:38:20 +00:00
2015-09-05 01:02:05 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2015-06-18 22:38:20 +00:00
2015-09-10 01:50:00 +00:00
2015-09-05 01:02:05 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2014-06-23 20:27:53 +00:00
2014-07-22 15:47:09 +00:00
2015-12-05 01:02:53 +00:00
2015-08-05 15:36:38 +00:00
2014-03-17 05:31:54 +00:00
2013-01-25 21:44:53 +00:00
2013-01-25 21:44:53 +00:00
2015-12-23 01:57:31 +00:00
2015-09-05 01:02:05 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2013-01-18 01:25:48 +00:00
2015-09-09 00:21:18 +00:00
2015-09-09 00:21:18 +00:00
2014-06-09 22:42:55 +00:00
2015-09-05 01:02:05 +00:00
2015-08-28 12:40:05 +00:00
2015-09-10 01:50:00 +00:00
2014-06-20 23:54:32 +00:00
2012-08-08 06:30:30 +00:00
2012-08-08 06:30:30 +00:00
2015-09-10 01:50:00 +00:00
2015-09-05 01:02:05 +00:00
2015-09-05 01:02:05 +00:00
2015-09-05 01:02:05 +00:00
2015-09-05 01:02:05 +00:00
2015-06-18 22:38:20 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2015-09-05 01:02:05 +00:00
2015-09-05 01:02:05 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2015-09-05 01:02:05 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2011-04-29 18:20:20 +00:00
2016-03-15 01:43:05 +00:00
2015-09-10 01:50:00 +00:00
2015-09-10 01:50:00 +00:00
2015-09-05 01:02:05 +00:00
2015-09-05 01:02:05 +00:00
2015-09-05 01:02:05 +00:00
2015-06-23 11:31:32 +00:00
2016-03-15 01:43:05 +00:00
2015-09-05 01:02:05 +00:00
2015-06-23 11:31:32 +00:00
2015-09-10 01:50:00 +00:00
2015-09-05 01:02:05 +00:00
2015-09-05 01:02:05 +00:00
2015-09-05 01:02:05 +00:00
2015-09-05 01:02:05 +00:00
2015-09-05 01:02:05 +00:00
2015-09-05 01:02:05 +00:00