1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/LTO
Rafael Espindola f8f8e59cdd Make the LTO comdat api more symbol table friendly.
In an IR symbol table I would expect the comdats to be represented as:

- A table of strings, one for each comdat name.
- Each symbol has an optional index into that table.

The natural api for accessing that would be

InputFile:
ArrayRef<StringRef> getComdatTable() const;

Symbol:
int getComdatIndex() const;

This patch implements an API as close to that as possible.  The
implementation on top of the current IRObjectFile is a bit hackish,
but should map just fine over a symbol table and is very convenient to
use.

llvm-svn: 285061
2016-10-25 12:02:03 +00:00
..
Caching.cpp Add qualification to fix MSVC build. 2016-09-23 23:23:23 +00:00
CMakeLists.txt [cmake] Declare LLVM_CMAKE_PATH for use in subprojects 2016-10-19 12:18:34 +00:00
LLVMBuild.txt [lib/LTO] Add a way to run a custom pipeline 2016-09-07 17:46:16 +00:00
LTO.cpp Make the LTO comdat api more symbol table friendly. 2016-10-25 12:02:03 +00:00
LTOBackend.cpp Reduce global namespace pollution. NFC. 2016-10-18 19:39:31 +00:00
LTOCodeGenerator.cpp LTO: Use the correct mangler function in LTOCodeGenerator::applyScopeRestrictions(). 2016-10-12 20:12:19 +00:00
LTOModule.cpp Recommit "Use StringRef in LTOModule implementation (NFC)"" 2016-10-07 19:05:14 +00:00
ThinLTOCodeGenerator.cpp Remove TimeValue usage from llvm/Support 2016-10-24 10:59:17 +00:00
UpdateCompilerUsed.cpp Move legacy LTO interface headers to legacy/ directory. 2016-07-14 21:21:16 +00:00