1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test
Adrian Prantl d9729b268c Debug Info: Add a file: field to DIImportedEntity.
DIImportedEntity has a line number, but not a file field. To determine
the decl_line/decl_file we combine the line number from the
DIImportedEntity with the file from the DIImportedEntity's scope. This
does not work correctly when the parent scope is a DINamespace or a
DIModule, both of which do not have a source file.

This patch adds a file field to DIImportedEntity to unambiguously
identify the source location of the using/import declaration.  Most
testcase updates are mechanical, the interesting one is the removal of
the FIXME in test/DebugInfo/Generic/namespace.ll.

This fixes PR33822. See https://bugs.llvm.org/show_bug.cgi?id=33822
for more context.

<rdar://problem/33357889>
https://bugs.llvm.org/show_bug.cgi?id=33822

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

llvm-svn: 308398
2017-07-19 00:09:54 +00:00
..
Analysis [SystemZ] Add support for IBM z14 processor (2/3) 2017-07-17 17:42:48 +00:00
Assembler Debug Info: Add a file: field to DIImportedEntity. 2017-07-19 00:09:54 +00:00
Bindings
Bitcode Debug Info: Add a file: field to DIImportedEntity. 2017-07-19 00:09:54 +00:00
BugPoint
CodeGen [COFF, ARM64] Reserve X18 register by default 2017-07-18 20:41:33 +00:00
DebugInfo Debug Info: Add a file: field to DIImportedEntity. 2017-07-19 00:09:54 +00:00
DllTool llvm: add llvm-dlltool support to the archiver 2017-07-18 21:26:38 +00:00
Examples
ExecutionEngine
Feature
FileCheck [llvm] Remove redundant check-prefix=CHECK from tests. NFC. 2017-07-17 17:32:45 +00:00
Instrumentation [asan] Copy arguments passed by value into explicit allocas for ASan 2017-07-18 22:28:03 +00:00
Integer
JitListener
LibDriver
Linker Debug Info: Add a file: field to DIImportedEntity. 2017-07-19 00:09:54 +00:00
LTO
MC [AMDGPU] resubmit r308179: CodeGen: check dst operand type to determine if omod is supported for VOP3 instructions 2017-07-18 14:23:26 +00:00
Object [llvm-readobj] - Teach readobj to print DT_FILTER dynamic tag in human readable form. 2017-07-14 16:00:16 +00:00
ObjectYAML [codeview] Fix YAML for LF_TYPESERVER2 by hoisting PDB_UniqueId 2017-07-17 23:59:44 +00:00
Other [PM/LCG] Teach the LazyCallGraph to maintain reference edges from every 2017-07-15 08:08:19 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen Make shell redirection construct portable 2017-07-12 13:24:46 +00:00
ThinLTO/X86 Debug Info: Add a file: field to DIImportedEntity. 2017-07-19 00:09:54 +00:00
tools [llvm-readobj] Accept (and ignore) --wide (-W) command-line switch 2017-07-18 23:58:15 +00:00
Transforms [x86, CGP] increase memcmp() expansion up to 4 load pairs 2017-07-18 15:55:30 +00:00
Unit
Verifier Add element atomic memset intrinsic 2017-07-12 21:57:23 +00:00
YAMLParser
.clang-format
CMakeLists.txt llvm: add llvm-dlltool support to the archiver 2017-07-18 21:26:38 +00:00
lit.cfg
lit.site.cfg.in
TestRunner.sh