Justin Hibbits
893f22f882
Add Position-independent Code model Module API.
...
Summary:
This makes PIC levels a Module flag attribute, which can be queried by the
backend. The flag is named `PIC Level`, and can have a value of:
0 - Backend-default
1 - Small-model (-fpic)
2 - Large-model (-fPIC)
These match the `-pic-level' command line argument for clang, and the value of the
preprocessor macro `__PIC__'.
Test Plan:
New flags tests specific for the 'PIC Level' module flag.
Tests to be added as part of a future commit for PowerPC, which will use this new API.
Reviewers: rafael, echristo
Reviewed By: rafael, echristo
Subscribers: rafael, llvm-commits
Differential Revision: http://reviews.llvm.org/D5882
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221510 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-07 04:46:10 +00:00
..
2014-11-07 04:46:10 +00:00
2014-10-23 18:44:07 +00:00
2013-04-09 16:51:13 +00:00
2013-04-09 16:51:13 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2014-10-23 18:52:46 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2012-07-02 12:47:22 +00:00
2013-04-09 16:51:13 +00:00
2013-04-09 16:51:13 +00:00
2013-04-09 16:51:13 +00:00
2013-04-09 16:51:13 +00:00
2013-04-09 16:51:13 +00:00
2013-04-09 16:51:13 +00:00
2012-11-27 09:55:56 +00:00
2013-04-09 16:51:13 +00:00
2014-07-30 22:51:54 +00:00
2013-04-09 16:51:13 +00:00
2013-04-09 16:51:13 +00:00
2012-07-02 12:47:22 +00:00
2013-04-09 16:51:13 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-07-30 22:51:54 +00:00
2014-07-30 22:51:54 +00:00
2014-06-03 02:41:57 +00:00
2013-04-09 16:51:13 +00:00
2013-04-09 16:51:13 +00:00
2012-07-02 10:18:06 +00:00
2014-06-27 18:19:56 +00:00
2014-06-27 18:19:56 +00:00
2014-06-27 18:19:56 +00:00
2014-06-27 18:19:56 +00:00
2014-06-27 18:19:56 +00:00
2014-10-23 19:36:21 +00:00
2014-10-23 19:23:42 +00:00
2014-08-15 20:17:08 +00:00
2014-06-27 18:19:56 +00:00
2014-10-31 05:04:16 +00:00
2014-08-11 17:07:34 +00:00
2014-09-05 21:27:52 +00:00
2014-03-11 18:25:33 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-02-13 05:11:35 +00:00
2014-02-13 05:11:35 +00:00
2014-01-24 19:20:15 +00:00
2014-01-24 19:20:15 +00:00
2014-08-12 16:46:37 +00:00
2014-11-05 21:33:34 +00:00
2013-04-09 16:51:13 +00:00
2012-02-27 23:48:30 +00:00
2014-09-09 17:48:18 +00:00
2012-07-02 10:18:06 +00:00
2013-04-09 16:51:13 +00:00
2013-01-16 18:39:23 +00:00
2012-02-11 11:38:06 +00:00
2012-02-11 11:38:06 +00:00
2012-02-11 11:38:06 +00:00
2013-01-16 18:39:23 +00:00
2012-02-11 11:38:06 +00:00
2012-07-02 18:37:59 +00:00
2012-02-11 11:38:06 +00:00
2012-07-02 18:37:59 +00:00
2012-02-11 11:38:06 +00:00
2012-07-02 18:37:59 +00:00
2012-02-11 11:38:06 +00:00
2013-01-16 18:39:23 +00:00
2013-01-16 18:39:23 +00:00
2013-01-16 21:38:56 +00:00
2013-01-16 21:38:56 +00:00
2014-11-07 04:46:10 +00:00
2014-11-07 04:46:10 +00:00
2012-07-02 10:18:06 +00:00
2012-07-02 10:18:06 +00:00
2013-09-16 01:08:15 +00:00
2014-10-31 16:52:30 +00:00
2014-10-25 01:14:15 +00:00
2013-01-10 10:49:36 +00:00
2013-01-10 10:49:36 +00:00
2013-08-29 03:02:30 +00:00
2013-09-09 23:07:58 +00:00
2014-10-06 03:36:31 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-01-30 01:39:17 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-10-03 20:01:09 +00:00
2014-06-06 01:20:28 +00:00
2014-09-09 15:40:12 +00:00
2013-09-04 15:33:34 +00:00
2013-09-04 15:33:34 +00:00
2014-11-02 13:28:57 +00:00
2013-04-09 16:51:13 +00:00