llvm/test
David Blaikie df29a10359 DebugInfo: Fix missing inlined_subroutines caused by r208748.
The check in DwarfDebug::constructScopeDIE was meant to consider inlined
subroutines as any non-top-level scope that was a subprogram. Instead of
checking "not top level scope" it was checking if the /subprogram's/
scope was non-top-level.

Fix this and beef up a test case to demonstrate some of the missing
inlined_subroutines are no longer missing.

In the course of fixing this I also found that r208748 (with this fix)
found one /extra/ inlined_subroutine in concrete_out_of_line.ll due to
two inlined_subroutines having the same inlinedAt location. The previous
implementation was collapsing these into a single inlined subroutine.

I'm not sure what the original code was that created this .ll file so
I'm not sure if this actually happens in practice today. Since we
deliberately include column information to disambiguate two calls on the
same line, that may've addressed this bug in the frontend, but it's good
to know that workaround isn't necessary for this particular case
anymore.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209165 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-19 21:54:31 +00:00
..
Analysis Added tests for the cost of lowering VSELECT instructions. 2014-05-16 22:47:58 +00:00
Assembler Fix most of PR10367. 2014-05-16 19:35:39 +00:00
Bindings
Bitcode Handle ConstantAggregateZero when upgrading global_ctors. 2014-05-17 21:00:22 +00:00
BugPoint
CodeGen [X86] Add ISel patterns to improve the selection of TZCNT and LZCNT. 2014-05-19 20:38:59 +00:00
DebugInfo DebugInfo: Fix missing inlined_subroutines caused by r208748. 2014-05-19 21:54:31 +00:00
ExecutionEngine Fix testers by removing dubious testcase for r209154. 2014-05-19 19:38:48 +00:00
Feature Fix most of PR10367. 2014-05-16 19:35:39 +00:00
FileCheck
Instrumentation [asan] Set debug location in ASan function prologue. 2014-05-14 10:30:15 +00:00
Integer
JitListener
Linker Add comdat key field to llvm.global_ctors and llvm.global_dtors 2014-05-16 20:39:27 +00:00
LTO IR: Don't allow non-default visibility on local linkage 2014-05-07 22:57:20 +00:00
MC reverting r209132 2014-05-19 16:22:11 +00:00
Object Implement MachOObjectFile::isSectionData() and MachOObjectFile::isSectionBSS 2014-05-19 20:36:02 +00:00
Other Fix most of PR10367. 2014-05-16 19:35:39 +00:00
TableGen test/TableGen: Remove XFAIL:vg_leak out of 3 tests corresponding to r208293. 2014-05-09 08:18:33 +00:00
tools ProfileData: Allow multiple profiles in RawInstrProfReader 2014-05-16 00:38:00 +00:00
Transforms [ConstantHoisting][X86] Change the cost model to never hoist constants for types larger than i128. 2014-05-19 21:00:53 +00:00
Unit
Verifier Add comdat key field to llvm.global_ctors and llvm.global_dtors 2014-05-16 20:39:27 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg [Test] Remove c-index-test from the list of substitutions 2014-05-07 18:16:02 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh