llvm-project/llvm/lib
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
..
Analysis [NFC] Optionally pass a function to emitInstrCountChangedRemark 2018-08-31 20:54:37 +00:00
AsmParser [IR] Replace `isa<TerminatorInst>` with `isTerminator()`. 2018-08-26 09:51:22 +00:00
BinaryFormat Fix undefined behavior in r340457 2018-08-23 02:51:09 +00:00
Bitcode [IR] Replace `isa<TerminatorInst>` with `isTerminator()`. 2018-08-26 09:51:22 +00:00
CodeGen Fix issue introduced by r341301 that broke buildbot. 2018-09-03 10:23:34 +00:00
DebugInfo [DebugInfo] Have the verifier accept missing linkage names. 2018-09-03 12:12:17 +00:00
Demangle Remove some debugging code that was accidentally left in. 2018-08-30 21:00:57 +00:00
ExecutionEngine clang-format r341282. 2018-09-02 01:29:29 +00:00
FuzzMutate [IR] Replace `isa<TerminatorInst>` with `isTerminator()`. 2018-08-26 09:51:22 +00:00
Fuzzer
IR Fix typo in size remarks for module passes 2018-08-31 22:43:41 +00:00
IRReader
LTO Remove trailing space 2018-07-30 19:41:25 +00:00
LineEditor
Linker [NFC] Remove an empty line. 2018-07-27 06:50:45 +00:00
MC [MC] - ConstantPools.cpp: Style consistency, remove redundant braces. NFC. 2018-09-03 03:48:39 +00:00
Object [Wasm] Add missing EOF checks for floats 2018-08-31 14:54:01 +00:00
ObjectYAML [yaml2obj] - Add a support for changing EntSize. 2018-08-07 08:11:38 +00:00
Option Re-revert "[Option] Fix PR37006 prefix choice in findNearest" 2018-05-19 16:21:01 +00:00
Passes Revert r340922 "[GVNHoist] Re-enable GVNHoist by default" 2018-08-29 13:00:55 +00:00
ProfileData [Coverage] Ignore 'unused' functions with non-zero execution counts 2018-08-07 22:25:36 +00:00
Support [DebugInfo] Common behavior for error types 2018-08-31 17:41:58 +00:00
TableGen Remove trailing space 2018-07-30 19:41:25 +00:00
Target [AArch64] Simplify code in LowerGlobalAddress. NFCI. 2018-09-03 11:59:23 +00:00
Testing [LLVMTestingSupport] Add explicit linkage to LLVMSupport 2018-04-08 06:49:17 +00:00
ToolDrivers Give llvm-lib rudimentary help output. 2018-07-14 02:29:44 +00:00
Transforms [InstCombine] allow not+sub fold for arbitrary vector constants 2018-09-02 19:31:45 +00:00
WindowsManifest Convert line endings of lib/WindowsManifest/CMakeLists.txt to unix. 2018-04-07 04:28:08 +00:00
XRay [XRay] Update RecordInitializer for PIDRecord 2018-08-31 20:02:55 +00:00
CMakeLists.txt
LLVMBuild.txt