diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-19 21:14:13 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-19 21:14:13 +0000 |
commit | 0b5745abd8e46ac60cd16f949a2fd5a581fc8fd4 (patch) | |
tree | 9bf3216708f093b7f26e88da9a98598484162e10 /docs/CommandGuide/lit.rst | |
parent | d2f9358649478df80d688e77858dee14e37aebed (diff) | |
download | llvm-0b5745abd8e46ac60cd16f949a2fd5a581fc8fd4.tar.gz llvm-0b5745abd8e46ac60cd16f949a2fd5a581fc8fd4.tar.bz2 llvm-0b5745abd8e46ac60cd16f949a2fd5a581fc8fd4.tar.xz |
Use lib/LTO directly in the gold plugin.
The tools/lto API is not the best choice for implementing a gold plugin. Among
other issues:
* It is an stable ABI. Old errors stay and we have to be really careful
before adding new features.
* It has to support two fairly different linkers: gold and ld64.
* We end up with a plugin that depends on a shared lib, something quiet
unusual in LLVM land.
* It hides LLVM. For some features in the gold plugin it would be really
nice to be able to just get a Module or a GlobalValue.
This change is intended to be a very direct translation from the C API. It
will just enable other fixes and cleanups.
Tested with a LTO bootstrap on linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide/lit.rst')
0 files changed, 0 insertions, 0 deletions