llvm-6502/test/DebugInfo
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
..
AArch64
Inputs llvm-symbolizer: add support for Mach-O universal binaries 2013-06-28 08:15:40 +00:00
PowerPC [PowerPC] Support TLS variables in debug info 2013-07-02 18:47:35 +00:00
SystemZ [SystemZ] Allow LA and LARL to be rematerialized 2013-06-27 09:42:10 +00:00
X86 PR14728: DebugInfo: TLS variables with -gsplit-dwarf 2013-07-01 23:55:52 +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 Debug Info: clean up usage of Verify. 2013-06-28 05:43:10 +00:00
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
array.ll
bug_null_debuginfo.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-pubnames.test
dwarfdump-test.test
dwarfdump-zlib.test
enum.ll DebugInfo: add some testing from an overly broad end-to-end test in Clang 2013-06-24 06:47:22 +00:00
global.ll DebugInfo: Consider global variables without locations to be valid 2013-07-04 23:15:18 +00:00
inheritance.ll
inline-debug-info-multiret.ll
inline-debug-info.ll
inlined-arguments.ll Add 'REQUIRES: object-emission' to DebugInfo/inlined-arguments.ll. 2013-07-02 19:21:43 +00:00
inlined-vars.ll
lit.local.cfg
llvm-symbolizer.test llvm-symbolizer: Recognize a drive letter on win32. Then "REQUIRES: shell" can be removed. 2013-07-01 09:51:42 +00:00
member-pointers.ll
namespace.ll
two-cus-from-same-file.ll
version.ll Trying to fix the bots 2013-07-03 00:16:11 +00:00