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 Teach ReMaterialization to be more cunning about subregisters 2013-05-29 19:32:06 +00:00
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 Revert "Adding DIImportedModules to DIScopes." 2013-03-28 02:44:59 +00:00
2009-11-05-DeadGlobalVariable.ll Remove unused field in DISubprogram 2013-03-21 20:28:52 +00:00
2009-11-06-NamelessGlobalVariable.ll
2009-11-10-CurrentFn.ll Remove unused field in DISubprogram 2013-03-21 20:28:52 +00:00
2010-01-05-DbgScope.ll
2010-01-19-DbgScope.ll
2010-03-12-llc-crash.ll
2010-03-19-DbgDeclare.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
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 Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
2010-04-19-FramePtr.ll Fix frame pointer debug information test 2013-06-14 19:55:26 +00:00
2010-05-03-DisableFramePtr.ll
2010-05-03-OriginDIE.ll
2010-05-10-MultipleCU.ll Remove unused field in DISubprogram 2013-03-21 20:28:52 +00:00
2010-06-29-InlinedFnLocalVar.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
2010-07-19-Crash.ll
2010-10-01-crash.ll Disable 2010-10-01-crash.ll for Hexagon as the Hexagon frontend will 2013-04-04 21:05:46 +00:00
array.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
bug_null_debuginfo.ll
debuglineinfo.test Add DIContext::getLineInfoForAddressRange() function and test. This function allows a caller to obtain a table of line information for a function using the function's address and size. 2013-01-26 00:28:05 +00:00
dwarf-public-names.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
dwarfdump-debug-frame-simple.test Previously, parsing capability of the .debug_frame section was added 2013-02-21 22:53:19 +00:00
dwarfdump-debug-loc-simple.test Spell correct (s/begining/beginning/) 2013-06-19 21:42:05 +00:00
dwarfdump-dump-flags.test Add command-line flags for DWARF dumping. 2013-01-25 20:26:43 +00:00
dwarfdump-inlining.test Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-pubnames.test Add testcase for llvm-dwarfdump to test parsing of the pubnames data. 2013-02-14 16:10:58 +00:00
dwarfdump-test.test llvm-symbolizer: correctly parse filenames given in quotes 2013-04-05 09:22:24 +00:00
dwarfdump-zlib.test Use zlib to uncompress debug sections in DWARF parser. 2013-04-23 10:17:34 +00:00
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 Set debug locations for branch instructions created during inlining, even 2013-04-30 17:08:16 +00:00
inline-debug-info.ll Improve documentation. 2013-04-29 22:25:52 +00:00
inlined-arguments.ll Add 'REQUIRES: object-emission' to DebugInfo/inlined-arguments.ll. 2013-07-02 19:21:43 +00:00
inlined-vars.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
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 Use the target triple from the target machine rather than the module 2013-04-27 01:07:52 +00:00
namespace.ll PR14606: Debug Info for namespace aliases/DW_TAG_imported_module 2013-05-20 22:50:35 +00:00
two-cus-from-same-file.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
version.ll Trying to fix the bots 2013-07-03 00:16:11 +00:00