summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Inputs
Commit message (Collapse)AuthorAgeFilesLines
* Add DebugInfo testcase for high_pc encoded as constant, fixed in r193555.Will Dietz2013-10-302-0/+3
| | | | llvm-svn: 193711
* llvm-dwarfdump/libDebugInfo support for type unitsDavid Blaikie2013-09-232-0/+15
| | | | llvm-svn: 191234
* [tests] Cleanup initialization of test suffixes.Daniel Dunbar2013-08-161-1/+0
| | | | | | | | | | | | | | | | | - Instead of setting the suffixes in a bunch of places, just set one master list in the top-level config. We now only modify the suffix list in a few suites that have one particular unique suffix (.ml, .mc, .yaml, .td, .py). - Aside from removing the need for a bunch of lit.local.cfg files, this enables 4 tests that were inadvertently being skipped (one in Transforms/BranchFolding, a .s file each in DebugInfo/AArch64 and CodeGen/PowerPC, and one in CodeGen/SI which is now failing and has been XFAILED). - This commit also fixes a bunch of config files to use config.root instead of older copy-pasted code. llvm-svn: 188513
* llvm-symbolizer: add support for .gnu_debuglink sectionAlexey Samsonov2013-08-141-0/+0
| | | | llvm-svn: 188386
* llvm-symbolizer: add support for Mach-O universal binariesAlexey Samsonov2013-06-282-0/+10
| | | | llvm-svn: 185137
* llvm-dwarfdump: Add support for dumping the .debug_loc sectionDavid Blaikie2013-06-192-0/+13
| | | | | | | | | This is a basic implementation - we still don't have any support (that I know of) for dumping DWARF expressions in a meaningful way, so the location information itself is just printed as a sequence of bytes as we do elsewhere. llvm-svn: 184361
* Use zlib to uncompress debug sections in DWARF parser.Alexey Samsonov2013-04-232-0/+24
| | | | | | | This makes llvm-dwarfdump and llvm-symbolizer understand debug info sections compressed by ld.gold linker. llvm-svn: 180088
* llvm-symbolizer: correctly parse filenames given in quotesAlexey Samsonov2013-04-051-0/+0
| | | | llvm-svn: 178859
* Add testcase for llvm-dwarfdump to test parsing of the pubnames data.Krzysztof Parzyszek2013-02-142-0/+32
| | | | llvm-svn: 175168
* AArch64: generate dwarfdump test rather than include .o in subversionTim Northover2013-02-111-0/+0
| | | | llvm-svn: 174891
* AArch64: Add basic relocation processing for llvm-dwarfdump.Tim Northover2013-02-111-0/+0
| | | | | | | This allows llvm-dwarfdump to handle the relocations needed, at least for LLVM-produced code. llvm-svn: 174874
* Update tests for DWARF parser: store sources next to pre-built object files ↵Alexey Samsonov2013-02-0817-0/+93
| | | | | | and provide build instructions llvm-svn: 174711
* Add a test for checking the current .debug_frame dumping capability.Eli Bendersky2013-02-062-0/+14
| | | | | | | | The test is a binary placed in test/DebugInfo/Inputs, with a source C file used for reference/reproducing. The source's first line is a clang build command for reproducing the binary. llvm-svn: 174543
* Add DIContext::getLineInfoForAddressRange() function and test. This ↵Andrew Kaylor2013-01-261-0/+0
| | | | | | function allows a caller to obtain a table of line information for a function using the function's address and size. llvm-svn: 173537
* Add support for applying in-memory relocations to the .debug_line section ↵Andrew Kaylor2013-01-251-0/+0
| | | | | | and, in the case of ELF files, using symbol addresses when available for relocations to the .debug_info section. Also extending the llvm-rtdyld tool to add the ability to dump line number information for testing purposes. llvm-svn: 173517
* Add support for fetching inlining context (stack of source code locations)Alexey Samsonov2012-09-041-0/+0
| | | | | | | | | | | by instruction address from DWARF. Add --inlining flag to llvm-dwarfdump to demonstrate and test this functionality, so that "llvm-dwarfdump --inlining --address=0x..." now works much like "addr2line -i 0x...", provided that the binary has debug info (Clang's -gline-tables-only *is* enough). llvm-svn: 163128
* Fix the representation of debug line table in DebugInfo LLVM library,Alexey Samsonov2012-08-071-0/+0
| | | | | | | | | | | | | 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. llvm-svn: 161414
* DebugInfo library: add support for fetching absolute paths to source filesAlexey Samsonov2012-07-193-0/+0
| | | | | | | | (instead of basenames) from DWARF. Use this behavior in llvm-dwarfdump tool. Reviewed by Benjamin Kramer. llvm-svn: 160496
* Improve behavior of DebugInfoEntryMinimal::getSubprogramName() introduced in ↵Alexey Samsonov2012-07-171-0/+0
| | | | | | | | | | | r159512. To fetch a subprogram name we should not only inspect the DIE for this subprogram, but optionally inspect its specification, or its abstract origin (even if there is no inlining), or even specification of an abstract origin. Reviewed by Benjamin Kramer. llvm-svn: 160365
* This patch extends the libLLVMDebugInfo which contains a minimalistic DWARF ↵Alexey Samsonov2012-07-022-0/+0
parser: 1) DIContext is now able to return function name for a given instruction address (besides file/line info). 2) llvm-dwarfdump accepts flag --functions that prints the function name (if address is specified by --address flag). 3) test case that checks the basic functionality of llvm-dwarfdump added llvm-svn: 159512
OpenPOWER on IntegriCloud