Fork of llvm with experimental commits and workarounds for RPCS3
Go to file
Mehdi Amini 07b85fee55 Remove "ExportingModule" from ThinLTO Index (NFC)
There is no real reason the index has to have the concept of an
exporting Module. We should be able to have one single unique
instance of the Index, and it should be read-only after creation
for the whole ThinLTO processing.
The linker plugin should be able to process multiple modules (in
parallel or in sequence) with the same index.

The only reason the ExportingModule was present seems to be to
implement hasExportedFunctions() that is used by the Module linker
to decide what to do with the current Module.
For now I replaced it with a query to the map of Modules path to
see if this module was declared in the Index and consider that if
it is the case then it is probably exporting function.
On the long term the Linker interface needs to evolve and this
call should not be needed anymore.

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 254581
2015-12-03 02:37:23 +00:00
autoconf
bindings
cmake
docs Fix "WARNING: Title underline too short." introduced by r254404. 2015-12-01 13:24:48 +00:00
examples
include Remove "ExportingModule" from ThinLTO Index (NFC) 2015-12-03 02:37:23 +00:00
lib Remove "ExportingModule" from ThinLTO Index (NFC) 2015-12-03 02:37:23 +00:00
projects
resources
test ScheduleDAGInstrs: Rework schedule graph builder. 2015-12-03 02:05:27 +00:00
tools Remove "ExportingModule" from ThinLTO Index (NFC) 2015-12-03 02:37:23 +00:00
unittests [llvm-profdata] Change instr prof counter overflow to saturate rather than discard 2015-12-02 18:19:24 +00:00
utils [AArch64] Add ARMv8.2-A Statistical Profiling Extension 2015-12-01 10:48:51 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
configure
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
Makefile
Makefile.common
Makefile.config.in
Makefile.rules
README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.