summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-symbolizer
Commit message (Collapse)AuthorAgeFilesLines
...
* [llvm-symbolizer] Use the export table if no symbols are presentReid Kleckner2015-10-164-1/+38
| | | | | | | | This lets us make guesses about symbols in third party DLLs without debug info, like MSVCR120.dll or kernel32.dll. dbghelp does the same thing. llvm-svn: 250582
* [llvm-symbolizer] Add -print-address optionHemant Kulkarni2015-10-123-0/+20
| | | | | | Differential Revision: http://reviews.llvm.org/D13518 llvm-svn: 250086
* [llvm-symbolizer] Reverting r250067Colin LeMahieu2015-10-122-20/+0
| | | | llvm-svn: 250072
* [llvm-symbolizer] Add -print-address optionHemant Kulkarni2015-10-122-0/+20
| | | | | | Differential Revision http://reviews.llvm.org/D13518 llvm-svn: 250067
* Fix pdb.test when python is not on PATHReid Kleckner2015-10-091-1/+1
| | | | llvm-svn: 249847
* Fix coff-dwarf test for non-Windows platforms that cannot demangle MS C++ namesReid Kleckner2015-10-091-0/+3
| | | | llvm-svn: 249795
* Address review comments, remove error case and return 0 instead as required ↵Reid Kleckner2015-10-094-20/+23
| | | | | | by tests llvm-svn: 249785
* [llvm-symbolizer] Make --relative-address work with DWARF contextsReid Kleckner2015-10-095-0/+40
| | | | | | | | | | | | | | | | Summary: Previously the relative address flag only affected PDB debug info. Now both DIContext implementations always expect to be passed virtual addresses. llvm-symbolizer is now responsible for adding ImageBase to module offsets when --relative-offset is passed. Reviewers: zturner Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12883 llvm-svn: 249784
* [llvm-symbolizer] Remove underscores and other C mangling on WindowsReid Kleckner2015-08-105-18/+37
| | | | | | | | | | | | | | | Summary: This makes it so that reports symbolized after the fact with llvm-symbolizer are more similar to the ones we generate at runtime with in-process dbghelp. Reviewers: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11785 llvm-svn: 244512
* [Object] Search for architecures by name in ↵Frederic Riss2015-06-223-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | MachOUniversalBinary::getObjectForArch() The reason we need to search by name rather than by Triple::ArchType is to handle subarchitecture correclty. There is no different ArchType for the x86_64h architecture (it identifies itself as x86_64), or for the various ARM subarches. The only way to get to the subarch slice in an universal binary is to search by name. This issue led to hard to debug and transient symbolication failures in Asan tests (it mostly works, because the files are very similar). This also affects the Profiling infrastucture as it is the other user of that API. Reviewers: samsonov, bogner Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D10604 llvm-svn: 240339
* A few fixes for llvm-symbolizer on Windows.Zachary Turner2015-05-066-15/+36
| | | | | | | | | Specifically, this patch correctly respects the -demangle option, and additionally adds a hidden --relative-address option allows input addresses to be relative to the module load address instead of absolute addresses into the image. llvm-svn: 236653
* Make llvm-symbolizer work on Windows.Zachary Turner2015-04-276-0/+20
| | | | | | | Differential Revision: http://reviews.llvm.org/D9234 Reviewed By: Alexey Samsonov llvm-svn: 235900
* Was convinced in commit comments that requiring a specific python version is ↵Manuel Klimek2014-11-111-1/+0
| | | | | | the wrong approach; reverting. llvm-svn: 221679
* Mark test using python as REQUIRES: python27.Manuel Klimek2014-11-101-0/+1
| | | | llvm-svn: 221598
* llvm/test/tools/llvm-symbolizer/ppc64.test: Avoid subshell.NAKAMURA Takumi2014-11-071-1/+1
| | | | llvm-svn: 221526
* llvm-symbolizer: teach it about PowerPC64 ELF function descriptorsJay Foad2014-11-072-0/+11
| | | | | | | | | | | | | | | | | Summary: Teach llvm-symbolizer about PowerPC64 ELF function descriptors. Symbols in the .opd section point to function descriptors, the first word of which is a pointer to the real function. For the purposes of symbolizing we pretend that the symbol points directly to the function. This is enough to get decent function names in stack traces for unoptimized binaries, which fixes the sanitizer print-stack-trace test on PowerPC64 Linux. Reviewers: kcc, willschm, samsonov Reviewed By: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6110 llvm-svn: 221514
* [llvm-symbolizer] Introduce the -dsym-hint option.Alexander Potapenko2014-10-178-0/+62
llvm-symbolizer will consult one of the .dSYM paths passed via -dsym-hint if it fails to find the .dSYM bundle at the default location. llvm-svn: 220004
OpenPOWER on IntegriCloud