llvm-6502/tools
Rafael Espindola 0b5745abd8 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
2014-06-19 21:14:13 +00:00
..
bugpoint Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
bugpoint-passes
gold Use lib/LTO directly in the gold plugin. 2014-06-19 21:14:13 +00:00
llc Move MCOptions that aren't shared between programs into their specific 2014-05-21 21:05:09 +00:00
lli Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-ar Add a symbols() range and use a range loop. 2014-06-18 21:14:57 +00:00
llvm-as
llvm-bcanalyzer Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-c-test
llvm-config
llvm-cov Finishing touch for the std::error_code transition. 2014-06-13 17:20:48 +00:00
llvm-diff
llvm-dis Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-dwarfdump Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-extract Use range loops. 2014-05-08 19:30:17 +00:00
llvm-jitlistener
llvm-link
llvm-lto
llvm-mc Move -dwarf-version to an MC level command line option so it's 2014-06-19 06:22:08 +00:00
llvm-mcmarkup Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-nm Convert the Archive API to use ErrorOr. 2014-06-16 16:08:36 +00:00
llvm-objdump Convert the Archive API to use ErrorOr. 2014-06-16 16:08:36 +00:00
llvm-profdata Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-readobj [llvm-readobj] Fix member functions name style. 2014-06-18 09:24:01 +00:00
llvm-rtdyld Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-shlib autoconf: Fix soname for libLLVM-Major.Minor.so (2nd try) 2014-05-13 19:37:03 +00:00
llvm-size Teach llvm-size to know about Mach-O universal files (aka fat files) and 2014-06-18 22:04:40 +00:00
llvm-stress
llvm-symbolizer Finishing touch for the std::error_code transition. 2014-06-13 17:20:48 +00:00
lto Remove unused includes following r211294 2014-06-19 19:25:49 +00:00
macho-dump Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
msbuild
obj2yaml Remove unused and odd code. 2014-06-13 15:36:17 +00:00
opt opt: Initialize asm printers 2014-06-13 16:12:08 +00:00
yaml2obj Remove system_error.h. 2014-06-12 17:38:55 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile lld (build with configur and make) Enable build 2014-06-05 08:49:55 +00:00