llvm/test/DebugInfo
Alexey Samsonov 351f83be64 Fix the representation of debug line table in DebugInfo LLVM library,
and "instruction address -> file/line" lookup.

Instead of plain collection of rows, debug line table for compilation unit is now
treated as the number of row ranges, describing sequences (series of contiguous machine
instructions). The sequences are not always listed in the order of increasing
address, so previously used std::lower_bound() sometimes produced wrong results.
Now the instruction address lookup consists of two stages: finding the correct
sequence, and searching for address in range of rows for this sequence.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161414 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-07 11:46:57 +00:00
..
Inputs Fix the representation of debug line table in DebugInfo LLVM library, 2012-08-07 11:46:57 +00:00
X86 Temporarily revert c23b933d5f. It's causing 2012-08-01 18:19:01 +00:00
2009-10-16-Phi.ll add newlines at the end of files. 2010-04-07 22:53:17 +00:00
2009-11-03-InsertExtractValue.ll change this from using '!dbg' to using '!dbgx'. The 2010-04-01 05:13:10 +00:00
2009-11-05-DeadGlobalVariable.ll Update tests. Remove irrelevant tests. 2011-09-13 23:07:41 +00:00
2009-11-06-NamelessGlobalVariable.ll Update tests. Remove irrelevant tests. 2011-09-13 23:07:41 +00:00
2009-11-10-CurrentFn.ll Update tests. Remove irrelevant tests. 2011-09-13 23:07:41 +00:00
2010-01-05-DbgScope.ll Add a new wrapper node for a DILexicalBlock that encapsulates it and a 2011-10-11 22:59:11 +00:00
2010-01-19-DbgScope.ll If a instruction belongs to another function (and not current function) as per debug info attached with the instruction then ignore the dangling lexical scope of this instruction. Such scopes are unreachable. 2010-01-20 02:05:23 +00:00
2010-03-12-llc-crash.ll Fix llc crash on invalid input. 2010-03-12 19:18:30 +00:00
2010-03-19-DbgDeclare.ll call void @llvm.dbg.declare(metadata !{i32* null}, metadata !1) 2010-03-19 21:06:24 +00:00
2010-03-24-MemberFn.ll Do not rely on getCompileUnit() to find source file information for a subprogram. 2010-03-24 18:48:00 +00:00
2010-03-30-InvalidDbgInfoCrash.ll Ignore invalid metadata. 2010-03-30 22:09:52 +00:00
2010-04-06-NestedFnDbgInfo.ll Do not emit specification DIE with DW_AT_specification attribute for member functions of a funcation local class. This trips gdb's partial scan of DIEs at load time. Fixes Radar 7833483. 2010-04-06 23:53:48 +00:00
2010-04-13-PubType.ll Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
2010-04-19-FramePtr.ll Add RUN: 2010-04-20 17:20:10 +00:00
2010-05-03-DisableFramePtr.ll Set DW_AT_APPLE_omit_frame_ptr in endFunction() where MachineFunction is available all the time. 2010-05-04 06:15:30 +00:00
2010-05-03-OriginDIE.ll Upgrade syntax of tests using volatile instructions to use 'load volatile' instead of 'volatile load', which is archaic. 2011-11-27 06:54:59 +00:00
2010-05-10-MultipleCU.ll FileCheckize 2010-10-15 16:06:42 +00:00
2010-06-29-InlinedFnLocalVar.ll Fix the testcases for the previous patch. 2012-01-24 10:11:49 +00:00
2010-07-19-Crash.ll Fix PR 7662. 2010-07-19 17:53:55 +00:00
2010-10-01-crash.ll Fix code gen crash reported in PR 8235. We still lose debug info for the unused argument here. This is a known limitation recorded debuginfo-tests/trunk/dbg-declare2.ll function 'f6' test case. 2010-10-01 19:00:44 +00:00
array.ll Add radar number for future reference. 2011-04-08 23:52:04 +00:00
bug_null_debuginfo.ll Do the right thing on NULL uint64 fields. 2012-03-16 00:21:54 +00:00
dwarfdump-test.test Fix the representation of debug line table in DebugInfo LLVM library, 2012-08-07 11:46:57 +00:00
inheritance.ll Replace test case that uses @llvm.dbg.* intrinsic with a test that uses metadata. 2010-03-01 19:02:51 +00:00
inlined-vars.ll Fix PR13202 and a regtest. 2012-07-06 08:45:08 +00:00
lit.local.cfg Improve behavior of DebugInfoEntryMinimal::getSubprogramName() introduced in r159512. 2012-07-17 15:28:35 +00:00
printdbginfo2.ll Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00