commit | aa7ad072c97a20161a4d75a054f75535998558f9 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Fri Aug 21 22:57:17 2015 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Fri Aug 21 22:57:17 2015 +0000 |
tree | 9a14c42ab52a0a157e41405161ec01cf66f34a54 | |
parent | 7d43ecc4d444cb52c7b762c01a457c4720d90768 [diff] |
LTO: Change signature of LTOCodeGenerator::setCodePICModel() to take a Reloc::Model. This allows us to remove a bunch of code in LTOCodeGenerator and llvm-lto and has the side effect of improving error handling in the libLTO C API. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245756 91177308-0d34-0410-b5e6-96231b3b80d8