1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/DebugInfo/Generic
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
..
2009-10-16-Phi.ll
2009-11-03-InsertExtractValue.ll
2009-11-05-DeadGlobalVariable.ll
2009-11-06-NamelessGlobalVariable.ll
2009-11-10-CurrentFn.ll
2010-01-05-DbgScope.ll
2010-03-12-llc-crash.ll
2010-03-19-DbgDeclare.ll
2010-03-24-MemberFn.ll
2010-04-06-NestedFnDbgInfo.ll
2010-04-19-FramePtr.ll
2010-05-03-DisableFramePtr.ll
2010-05-03-OriginDIE.ll
2010-05-10-MultipleCU.ll
2010-06-29-InlinedFnLocalVar.ll
2010-10-01-crash.ll
accel-table-hash-collisions.ll Revert r301487: Replace HashString algorithm with xxHash64 2017-04-26 23:15:10 +00:00
array.ll
block-asan.ll Align definition of DW_OP_plus with DWARF spec [3/3] 2017-06-14 13:14:38 +00:00
bug_null_debuginfo.ll
constant-pointers.ll
constant-sdnodes-have-dbg-location.ll
constantfp-sdnodes-have-dbg-location.ll
cross-cu-inlining.ll
cross-cu-linkonce-distinct.ll
cross-cu-linkonce.ll
cu-range-hole.ll
cu-ranges.ll
dbg-at-specficiation.ll
dead-argument-order.ll
debug-info-always-inline.ll
debug-info-qualifiers.ll
debuginfofinder-forward-declaration.ll
debuginfofinder-inlined-cu.ll
debuginfofinder-multiple-cu.ll
def-line.ll
discriminator.ll
dwarf-public-names.ll Remove line and file from DINamespace. 2017-04-28 22:25:46 +00:00
empty.ll DebugInfo: Do not emit empty CUs 2017-05-26 18:52:56 +00:00
enum-types.ll
enum.ll
global.ll
gmlt_profiling.ll
gmlt.test
gvn.ll
incorrect-variable-debugloc1.ll
incorrect-variable-debugloc.ll
indvar-discriminator.ll
inheritance.ll
inline-debug-info-multiret.ll
inline-debug-info.ll
inline-debug-loc.ll
inline-no-debug-info.ll
inline-scopes.ll
inlined-arguments.ll
inlined-vars.ll
instcombine-phi.ll
invalid.ll
licm-hoist-debug-loc.ll
linkage-name-abstract.ll
lit.local.cfg
location-verifier.ll
lto-comp-dir.ll
mainsubprogram.ll
member-order.ll
member-pointers.ll
missing-abstract-variable.ll
multiline.ll
namespace_function_definition.ll Remove line and file from DINamespace. 2017-04-28 22:25:46 +00:00
namespace_inline_function_definition.ll Remove line and file from DINamespace. 2017-04-28 22:25:46 +00:00
namespace.ll Debug Info: Add a file: field to DIImportedEntity. 2017-07-19 00:09:54 +00:00
nodebug.ll DebugInfo: Do not emit empty CUs 2017-05-26 18:52:56 +00:00
noscopes.ll
piece-verifier.ll
PR20038.ll
ptrsize.ll
recursive_inlining.ll
restrict.ll
simplifycfg_sink_last_inst.ll
skeletoncu.ll DebugInfo: Do not emit empty CUs 2017-05-26 18:52:56 +00:00
store-tail-merge.ll
sugared-constants.ll Improve the accuracy of variable ranges .debug_loc location lists. 2017-06-16 22:40:04 +00:00
sunk-compare.ll
template-recursive-void.ll
thrownTypes.ll Add support for DW_TAG_thrown_type. 2017-04-26 22:56:44 +00:00
tu-composite.ll
tu-member-pointer.ll
two-cus-from-same-file.ll
typedef.ll
unconditional-branch.ll
varargs.ll
version.ll
virtual-index.ll