llvm-6502/test
David Blaikie e7a280ac86 DebugInfo: Fix ranges+gmlt test case to actually exercise the gmlt situation.
Originally this test case tested the specified behavior (that -gmlt
would not produce DW_AT_ranges and that when no CU DW_AT_ranges were
produced, no debug_ranges section (not even an empty list) would be
produced) but then the ranges emission code was improved not to create
ranges of a single element (instead favoring high_pc/low_pc) and so this
test case no longer exercised the -gmlt portion of the behavior.

This caused me some confusion when reading the comments and trying to
update this test case for future changes to -gmlt. I've made this test
resilient to those changes (by using the {{DW_TAG|NULL}} pattern to
block the end of the attribute search at the end of the CU's attribute
list without mandating that it must (or must not) be followed by another
tag (the future changes to -gmlt should produce no subprograms in this
CU))

Fix the test case to have two functions in distinct sections to force
the use of DW_AT_ranges.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214985 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-06 18:24:19 +00:00
..
Analysis Add @llvm.assume, lowering, and some basic properties 2014-07-25 21:13:35 +00:00
Assembler verify-uselistorder: Change the default -num-shuffles=5 2014-07-31 18:46:24 +00:00
Bindings [OCaml] Add Llvm.{string_of_const,const_element}. 2014-08-03 23:54:22 +00:00
Bitcode UseListOrder: Fix blockaddress use-list order 2014-08-01 22:27:19 +00:00
BugPoint llvm/test/BugPoint/compile-custom.ll: Use explicit %python to invoke a test script, compile-custom.ll.py, for shebang-incapable hosts. 2014-07-11 14:44:10 +00:00
CodeGen Add a triple to this test to get the right IR mangling 2014-08-06 18:09:15 +00:00
DebugInfo DebugInfo: Fix ranges+gmlt test case to actually exercise the gmlt situation. 2014-08-06 18:24:19 +00:00
ExecutionEngine [MCJIT] Fix the ARM BR24 relocation in RuntimeDyldMachO. 2014-07-30 03:35:05 +00:00
Feature Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
FileCheck Add missing test for r214210. 2014-07-29 22:57:59 +00:00
Instrumentation [dfsan] Try not to create too many additional basic blocks in functions which 2014-08-06 00:33:40 +00:00
Integer
JitListener
Linker Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
LTO Change the default input for llvm-nm to be a.out instead of standard input 2014-06-23 20:27:53 +00:00
MC Add test case omitted in r214974. 2014-08-06 16:06:41 +00:00
Object Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
Other Don't internalize all but main by default. 2014-08-05 20:10:38 +00:00
TableGen Allow binary and for tblgen math. 2014-08-05 09:43:25 +00:00
tools Add a test showing the interaction of linker scripts and plugin. 2014-08-05 19:56:53 +00:00
Transforms Remove dead zero store to calloc initialized memory 2014-08-05 17:48:20 +00:00
Unit Let test/Unit/lit.cfg add config.shlibdir to $PATH on DLL platforms like cygming. 2014-07-04 05:11:55 +00:00
Verifier Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
YAMLParser
.clang-format
CMakeLists.txt Rename llvm-uselistorder => verify-uselistorder 2014-07-30 17:11:27 +00:00
lit.cfg Rename llvm-uselistorder => verify-uselistorder 2014-07-30 17:11:27 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh