Go to file
Shoaib Meenai 0c958fba14 [ELF] Only scan executables for shlib undefined symbols
If using a version script with a `local: *` in it, symbols in shared
libraries will still get default visibility if another shared library on
the link line has an undefined reference to the symbol. This is quite
surprising. Neither bfd nor gold have this behavior when linking a
shared library, and none of LLD's tests fail without this behavior, so
it seems safe to limit scanShlibUndefined to executables.

As far as executables are concerned, gold doesn't do any automatic
default visibility marking, and bfd issues a link error about a shared
library having a reference to a hidden symbol rather than silently
giving that symbol default visibility. I think bfd's behavior here is
preferable to LLD's, but that's something to be considered in a
follow-up.

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

llvm-svn: 321578
2017-12-30 08:00:44 +00:00
clang [NFC] Modernize enum 'UnqualifiedId::IdKind' into a scoped enum UnqualifiedIdKind. 2017-12-30 04:15:27 +00:00
clang-tools-extra [clangd] Properly set filterText for index-based completion items 2017-12-29 14:59:22 +00:00
compiler-rt [msan] Intercept pthread_getname_np. 2017-12-28 23:06:51 +00:00
debuginfo-tests [debuginfo-tests] Support moving debuginfo-tests to llvm/projects 2017-12-12 16:54:20 +00:00
libclc configure.py: Add gfx900 (Vega, Raven) 2017-11-27 11:14:06 +00:00
libcxx Try again, this time with the correct address 2017-12-29 19:26:53 +00:00
libcxxabi Try again, this time with the correct address 2017-12-29 19:26:28 +00:00
libunwind There is no portable format string for printing `uintptr_t` values. 2017-12-27 05:46:53 +00:00
lld [ELF] Only scan executables for shlib undefined symbols 2017-12-30 08:00:44 +00:00
lldb Remove duplicate declaration from D41550; NFC 2017-12-28 07:48:10 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [X86] Remove isel patterns for kshifts with types that don't support kshift natively. 2017-12-30 06:45:46 +00:00
openmp Unify build documentation and convert to reStructuredText 2017-12-27 09:15:10 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [CodeGen] Fix noalias annotations for memcpy/memmove. 2017-12-22 17:44:53 +00:00
README.md Add an svn project to contain the files that appear at the root of the 2017-10-19 21:09:49 +00:00

README.md

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.