llvm-6502/test
David Blaikie 09bb56f0a0 DebugInfo: Consider global variables without locations to be valid
We were being a bit too aggresive here in classifying global variables
with no global reference or constant value to be invalid - this would
cause LLVM to not emit the DWARF description of the global variable if
it had been optimized away, which isn't helpful for users who might
benefit from the global variable's description even if there's no
location information.

This also fixes a crasher issue here that I was unable to reduce a test
case for - involving a using decl (& subsequent
DW_TAG_imported_declaration ) of such a global variable that, once
optimized away, would crash when an attempt to emit the imported
declaration was made.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185675 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-04 23:15:18 +00:00
..
Analysis Minimize precision loss when computing cyclic probabilities. 2013-06-28 22:40:43 +00:00
Archive Fix an ordering problem in the test. 2013-06-21 07:23:14 +00:00
Assembler Fix test: It was missing run lines and llvm-dis has no -disable-verify option. 2013-07-03 16:27:55 +00:00
Bindings/Ocaml
Bitcode
BugPoint
CodeGen [ARM] Improve the instruction selection of vector loads. 2013-07-03 21:42:57 +00:00
DebugInfo DebugInfo: Consider global variables without locations to be valid 2013-07-04 23:15:18 +00:00
ExecutionEngine
Feature
FileCheck Prefix failing commands with not to make clear they are expected to fail. 2013-07-03 16:41:29 +00:00
Instrumentation [msan] Unpoison stack allocations and undef values in blacklisted functions. 2013-07-03 14:39:14 +00:00
Integer
JitListener
Linker
MC MC: Add .section directive to COFF 2013-07-04 21:32:07 +00:00
Object Add support for archives with no symbol table or string table. 2013-07-04 19:40:23 +00:00
Other (1) Add ".test" to test/Other/lit.local.cfg, so llvm-cov.test is actually run. 2013-07-01 18:58:53 +00:00
TableGen
tools readobj: Dump PE/COFF optional records. 2013-06-12 19:10:33 +00:00
Transforms InstCombine: Reimplementation of visitUDivOperand 2013-07-04 21:17:49 +00:00
Unit
Verifier
YAMLParser
CMakeLists.txt
lit.cfg Suppress llvm/test/Other/can-execute.txt on msys bash. 2013-06-26 10:56:44 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh