llvm-project/llvm
Steven Wu 33ba93c2b5 [ThinLTO] Teach ThinLTO about auto hide symbols
Summary:
For symbols that has linkonce_odr linkage and unnamed_addr, it can be
auto hide by linker to avoid weak external symbols. Teach ThinLTO to
perform auto hide so it can safely promote linkonce_odr to weak symbols
without breaking this nice property.

Reviewers: tejohnson, mehdi_amini

Reviewed By: tejohnson

Subscribers: inglorion, eraman, rnk, pcc, llvm-commits

Differential Revision: https://reviews.llvm.org/D43130

llvm-svn: 324757
2018-02-09 18:34:08 +00:00
..
bindings [NFC] fix trivial typos in comments and documents 2018-01-26 08:15:29 +00:00
cmake Generate PDB files for profiling even in Release build. 2018-02-07 19:37:52 +00:00
docs Reapply "AMDGPU: Add 32-bit constant address space" 2018-02-09 16:57:57 +00:00
examples [ORC] Remove Layer handles from the layer concept. 2018-02-09 02:30:40 +00:00
include Use assembler expressions to lay out the EH LSDA. 2018-02-09 17:00:25 +00:00
lib [ThinLTO] Teach ThinLTO about auto hide symbols 2018-02-09 18:34:08 +00:00
projects
resources
runtimes [CMake] Support for cross-compilation when build runtimes 2018-01-08 23:50:59 +00:00
test [ThinLTO] Teach ThinLTO about auto hide symbols 2018-02-09 18:34:08 +00:00
tools [bugpoint] Report non-existent opt binary 2018-02-09 06:09:15 +00:00
unittests [ORC] Remove Layer handles from the layer concept. 2018-02-09 02:30:40 +00:00
utils [TargetSchedule] Fix r324582. 2018-02-09 10:28:46 +00:00
.arcconfig [llvm] Set up .arcconfig to point to Diffusion L repository 2018-01-12 15:37:41 +00:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt CMAKE: apply -O3 for mingw clang 2018-02-08 07:13:17 +00:00
CODE_OWNERS.TXT
CREDITS.TXT Add myself to CREDITS.txt 2018-01-29 17:02:34 +00:00
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

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.