Rafael Espindola
6fd1b8ee48
Allow aliases to be unnamed_addr.
...
Alias with unnamed_addr were in a strange state. It is stored in GlobalValue,
the language reference talks about "unnamed_addr aliases" but the verifier
was rejecting them.
It seems natural to allow unnamed_addr in aliases:
* It is a property of how it is accessed, not of the data itself.
* It is perfectly possible to write code that depends on the address
of an alias.
This patch then makes unname_addr legal for aliases. One side effect is that
the syntax changes for a corner case: In globals, unnamed_addr is now printed
before the address space.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210302 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-06 01:20:28 +00:00
..
2014-04-03 21:18:25 +00:00
2013-07-01 12:59:04 +00:00
2014-04-09 15:39:11 +00:00
2014-04-03 21:18:25 +00:00
2014-01-28 18:35:29 +00:00
2013-03-30 14:29:30 +00:00
2013-03-30 14:29:30 +00:00
2014-03-13 23:18:37 +00:00
2014-03-24 16:52:30 +00:00
2013-11-15 12:30:04 +00:00
2013-03-30 14:29:30 +00:00
2013-06-28 17:58:10 +00:00
2013-09-19 13:14:44 +00:00
2013-03-30 14:29:30 +00:00
2013-06-28 17:58:10 +00:00
2013-06-28 17:58:07 +00:00
2013-07-13 20:38:47 +00:00
2013-06-28 17:58:07 +00:00
2014-01-21 14:40:05 +00:00
2013-07-22 12:18:04 +00:00
2013-08-06 14:13:27 +00:00
2013-06-21 18:51:49 +00:00
2012-11-16 21:03:51 +00:00
2013-06-21 18:51:49 +00:00
2013-08-06 14:13:34 +00:00
2013-06-21 18:51:49 +00:00
2013-07-13 20:38:47 +00:00
2013-10-11 12:39:36 +00:00
2013-08-24 01:17:23 +00:00
2013-02-11 18:56:35 +00:00
2013-05-31 12:14:49 +00:00
2013-05-31 12:14:49 +00:00
2013-06-28 17:58:10 +00:00
2013-06-28 17:58:10 +00:00
2013-12-05 12:58:00 +00:00
2013-07-01 12:58:48 +00:00
2013-07-13 20:38:47 +00:00
2013-08-16 00:37:11 +00:00
2013-06-21 18:51:49 +00:00
2014-04-21 17:23:12 +00:00
2013-07-01 13:00:14 +00:00
2014-03-18 23:51:07 +00:00
2014-06-06 01:20:28 +00:00
2013-06-28 17:58:04 +00:00
2013-06-10 13:29:47 +00:00
2013-10-11 12:39:39 +00:00
2012-11-12 03:16:43 +00:00
2012-11-12 03:16:43 +00:00
2013-06-21 18:51:49 +00:00
2013-07-13 20:38:47 +00:00
2013-03-20 00:10:32 +00:00
2013-03-20 00:10:32 +00:00
2013-07-13 20:38:47 +00:00
2013-07-01 12:58:58 +00:00
2012-11-12 03:16:43 +00:00
2012-11-12 03:16:43 +00:00
2012-11-12 03:16:43 +00:00
2012-11-12 03:16:43 +00:00
2013-06-28 17:57:59 +00:00
2013-06-28 17:57:59 +00:00
2014-04-09 15:39:15 +00:00
2014-04-09 15:39:15 +00:00
2014-03-31 15:56:26 +00:00
2014-04-09 15:39:15 +00:00
2013-03-30 14:29:30 +00:00
2013-11-11 19:28:16 +00:00
2014-01-12 14:09:17 +00:00
2013-06-28 17:57:55 +00:00
2012-11-29 14:26:24 +00:00
2013-03-20 00:10:32 +00:00
2012-11-29 14:26:28 +00:00
2013-07-26 13:28:29 +00:00