Go to file
Bob Haarman eae4742d81 [LTO] Don't internalize declarations
Summary:
Some links were failing with "Global is external, but doesn't have
external or weak linkage!" in ThinLTO builds with debug
information. This happened when we elide the body of a global that is
referenced by debug info. This results in a declaration, which we
would then internalize - but declarations cannot be internal. This
change avoids the problem by not internalizing these declarations.

Fixes PR38046.

Reviewers: pcc, tejohnson

Subscribers: mehdi_amini, aprantl, hiraditya, JDevlieghere, steven_wu, dexonsmith, llvm-commits

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

llvm-svn: 338100
2018-07-27 05:40:29 +00:00
clang [WWW] Fixing file permissions for the .html pages. 2018-07-27 04:41:37 +00:00
clang-tools-extra Revert Clangd Dex Iterators patch 2018-07-26 18:25:48 +00:00
compiler-rt [test] Use printf instead of C++ iostream, NFC. 2018-07-26 18:23:40 +00:00
debuginfo-tests [DebugInfo] LowerDbgDeclare: Add derefs when handling CallInst users 2018-07-26 20:56:53 +00:00
libclc atom: Use volatile pointers for cl_khr_{global,local}_int32_{base,extended}_atomics 2018-06-21 19:27:39 +00:00
libcxx Add libc++fs to the test deps, and not to the target 'cxx'. 2018-07-27 03:47:46 +00:00
libcxxabi [CMake] Don't use LIBCXXABI_ENABLE_STATIC option before its declared 2018-07-25 23:13:00 +00:00
libunwind [CMake] Include CMakeDependentOption in libunwind 2018-07-24 23:42:51 +00:00
lld ELF: Make --print-icf-sections output deterministic. 2018-07-26 23:34:35 +00:00
lldb Add back lldb-framework-headers target 2018-07-26 21:55:14 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [LTO] Don't internalize declarations 2018-07-27 05:40:29 +00:00
openmp PR30734: Remove __kmp_ft_page_allocate() 2018-07-26 18:15:02 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [isl] Simplify iterator implementation by building on top of list accessors 2018-07-23 15:28:50 +00:00
README.md

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.