llvm-6502/test/DebugInfo
David Blaikie ee8af3e2a0 Recommit r208506: DebugInfo: Include lexical scopes in inlined subroutines.
This was reverted in r208642 due to regressions surrounding file changes
within lexical scopes causing inlining information to be lost.

The issue was in LexicalScopes::getOrCreateInlinedScope, where I was
previously testing "isLexicalBlock" which is false for
"DILexicalBlockFile" (a scope used to represent changes in the current
file name) and assuming it was then a function (breaking out of the
inlined scope path and reaching for the parent non-inlined scopes). By
inverting the condition and testing for "isSubprogram" the correct
behavior is attained.

(also found some weirdness in Clang, see r208742 when reducing this test
case - the resulting test case doesn't apply with the Clang fix, but
I've added a more realistic test case to inline-scopes.ll which does
reproduce the issue and demonstrate the fix)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208748 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-14 01:08:28 +00:00
..
AArch64
ARM
ARM64 ARM64: initial backend import 2014-03-29 10:18:08 +00:00
COFF MC: honour IMAGE_SCN_CNT_INITIALIZED_DATA 2014-04-23 21:29:34 +00:00
Inputs [llvm-symbolizer] Print file/line for a PC even if there is no DIE describing it. 2014-04-18 22:22:44 +00:00
PowerPC
Sparc
SystemZ
X86 DebugInfo: Simplify/correct test for correct constant emission when dealing with derived types. 2014-05-11 17:25:50 +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-01-19-DbgScope.ll
2010-03-12-llc-crash.ll
2010-03-19-DbgDeclare.ll
2010-03-24-MemberFn.ll
2010-03-30-InvalidDbgInfoCrash.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-07-19-Crash.ll
2010-10-01-crash.ll
arm-relocs.test Add support for the R_ARM_ABS32 relocation. 2014-04-03 02:27:00 +00:00
array.ll
bug_null_debuginfo.ll
cu-line-tables.ll DebugInfo: Make gmlt debug info more gmlt-like by removing variables. 2014-05-12 21:33:03 +00:00
cu-range-hole.ll Reapply DW_AT_low/high_pc patch: 2014-03-20 19:16:16 +00:00
cu-ranges.ll Reapply DW_AT_low/high_pc patch: 2014-03-20 19:16:16 +00:00
debug-info-qualifiers.ll
debuginfofinder-multiple-cu.ll
debuglineinfo.test
dwarf-public-names.ll
dwarfdump-debug-frame-simple.test
dwarfdump-debug-loc-simple.test
dwarfdump-dump-flags.test
dwarfdump-inlining.test
dwarfdump-line-dwo.test
dwarfdump-pubnames.test
dwarfdump-test.test
dwarfdump-type-units.test
dwarfdump-zlib.test
empty.ll DebugInfo: Add fission-related sections to COFF 2014-03-26 03:05:10 +00:00
enum.ll
global.ll
inheritance.ll
inline-debug-info-multiret.ll
inline-debug-info.ll
inline-scopes.ll Recommit r208506: DebugInfo: Include lexical scopes in inlined subroutines. 2014-05-14 01:08:28 +00:00
inlined-arguments.ll
inlined-vars.ll DwarfDebug: Avoid an extra map lookup while constructing abstract scope DIEs and reduce nesting/conditionals. 2014-05-12 18:23:35 +00:00
llvm-symbolizer.test [llvm-symbolizer] Print file/line for a PC even if there is no DIE describing it. 2014-04-18 22:22:44 +00:00
lto-comp-dir.ll
member-order.ll
member-pointers.ll
namespace.ll DebugInfo: Support namespace aliases as DW_TAG_imported_declaration instead of DW_TAG_imported_module 2014-04-06 06:29:01 +00:00
restrict.ll PR13337: Omit DW_TAG_restrict_type when compiling for DWARF2 2014-04-12 05:35:59 +00:00
sugared-constants.ll DebugInfo: Simplify/correct test for correct constant emission when dealing with derived types. 2014-05-11 17:25:50 +00:00
template-recursive-void.ll
tu-composite.ll
tu-member-pointer.ll
two-cus-from-same-file.ll
typedef.ll DebugInfo: Correct the attribute type kind. 2014-05-01 18:31:21 +00:00
unconditional-branch.ll X86MCAsmInfoGNUCOFF: Set PointerSize as 8 for targeting x64. It caused DW_LNE_set_address was misemitted on x64. 2014-04-08 15:28:50 +00:00
varargs.ll
version.ll