forked from OSchip/llvm-project
d63bfd218b
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 |
||
---|---|---|
.. | ||
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 | ||
PR20038.ll | ||
accel-table-hash-collisions.ll | ||
array.ll | ||
block-asan.ll | ||
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 | ||
empty.ll | ||
enum-types.ll | ||
enum.ll | ||
global.ll | ||
gmlt.test | ||
gmlt_profiling.ll | ||
gvn.ll | ||
incorrect-variable-debugloc.ll | ||
incorrect-variable-debugloc1.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.ll | ||
namespace_function_definition.ll | ||
namespace_inline_function_definition.ll | ||
nodebug.ll | ||
noscopes.ll | ||
piece-verifier.ll | ||
ptrsize.ll | ||
recursive_inlining.ll | ||
restrict.ll | ||
simplifycfg_sink_last_inst.ll | ||
skeletoncu.ll | ||
store-tail-merge.ll | ||
sugared-constants.ll | ||
sunk-compare.ll | ||
template-recursive-void.ll | ||
thrownTypes.ll | ||
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 |