llvm-project/llvm
Jonas Devlieghere 6e5c7e6037 [DebugInfo] Have the verifier accept missing linkage names.
According to the standard, for the .debug_names (the "dwarf accelerator
tables"):

> If a subprogram or inlined subroutine is included, and has a
> DW_AT_linkage_name attribute, there will be an additional index entry
> for the linkage name.

For Swift we generate DW_structure_types with a linkage name and the
verifier was incorrectly rejecting this. This patch fixes that by only
considering the linkage name in those particular cases. The test is the
"reduced" debug info of the failing swift test on swift.org.

Differential revision: https://reviews.llvm.org/D51420

llvm-svn: 341311
2018-09-03 12:12:17 +00:00
..
benchmarks Pull google/benchmark library to the LLVM tree 2018-08-28 09:42:41 +00:00
bindings [AArch64] Add Tiny Code Model for AArch64 2018-08-22 11:31:39 +00:00
cmake Remove LIT_SITE_CFG_IN_FOOTER, llvm 2018-08-30 22:13:34 +00:00
docs Revamp test-suite documentation 2018-08-31 21:47:01 +00:00
examples
include Extend hasStoreToStackSlot with list of FI accesses. 2018-09-03 09:15:58 +00:00
lib [DebugInfo] Have the verifier accept missing linkage names. 2018-09-03 12:12:17 +00:00
projects
resources
runtimes
test [DebugInfo] Have the verifier accept missing linkage names. 2018-09-03 12:12:17 +00:00
tools [llvm-mca] Fix typo in debug output. NFC. 2018-09-01 18:32:33 +00:00
unittests [ORC] Tidy up JITSymbolFlags to remove the need for some explicit static_casts. 2018-09-02 01:28:26 +00:00
utils lit: Use sys.executable for executing builtin commands 2018-08-31 20:15:31 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt Revert "[CMake] Use LLVM_ENABLE_IDE instead of CMAKE_CONFIGURATION_TYPES" 2018-08-30 09:32:09 +00:00
CODE_OWNERS.TXT Add owner for llvm-objcopy 2018-08-09 22:05:19 +00:00
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

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.