summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* [LLVMSymbolize] Factor out the logic for printing structs from DIContext. NFC.Alexey Samsonov2015-11-031-6/+11
| | | | | | | | Introduce DIPrinter which takes care of rendering DILineInfo and friends. This allows LLVMSymbolizer class to return a structured data instead of plain std::strings. llvm-svn: 251989
* Let the users of LLVMSymbolizer decide whether they want to symbolize ↵Alexey Samsonov2015-10-301-3/+4
| | | | | | | | | | | inlined frames. Introduce LLVMSymbolizer::symbolizeInlinedCode() instead of switching on PrintInlining option passed to the constructor. This will be needed once we retrun structured data (instead of std::string) from LLVMSymbolizer and move printing logic out. llvm-svn: 251675
* Move parts of llvm-symbolizer tool into LLVMSymbolize library.Alexey Samsonov2015-10-261-1/+1
| | | | | | | | | | | | Summary: See http://lists.llvm.org/pipermail/llvm-dev/2015-October/091624.html Reviewers: echristo Subscribers: llvm-commits, aizatsky Differential Revision: http://reviews.llvm.org/D13998 llvm-svn: 251316
* Simplify boolean conditional return statements in tools/llvm-symbolizer.Rafael Espindola2015-10-241-3/+1
| | | | | | Patch by Richard. llvm-svn: 251216
* [llvm-symbolizer] Add -print-address optionHemant Kulkarni2015-10-121-0/+8
| | | | | | Differential Revision: http://reviews.llvm.org/D13518 llvm-svn: 250086
* [llvm-symbolizer] Reverting r250067Colin LeMahieu2015-10-121-8/+0
| | | | llvm-svn: 250072
* [llvm-symbolizer] Add -print-address optionHemant Kulkarni2015-10-121-0/+8
| | | | | | Differential Revision http://reviews.llvm.org/D13518 llvm-svn: 250067
* A few fixes for llvm-symbolizer on Windows.Zachary Turner2015-05-061-4/+10
| | | | | | | | | 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-271-0/+4
| | | | | | | Differential Revision: http://reviews.llvm.org/D9234 Reviewed By: Alexey Samsonov llvm-svn: 235900
* Purge unused includes throughout libSupport.Benjamin Kramer2015-03-231-0/+1
| | | | | | NFC. llvm-svn: 232976
* [llvm-symbolizer] Introduce the -dsym-hint option.Alexander Potapenko2014-10-171-0/+14
| | | | | | | 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
* Remove 'using std::error_code' from tools.Rafael Espindola2014-06-131-1/+0
| | | | llvm-svn: 210876
* Don't use 'using std::error_code' in include/llvm.Rafael Espindola2014-06-121-0/+1
| | | | | | This should make sure that most new uses use the std prefix. llvm-svn: 210835
* [DWARF parser] Teach DIContext to fetch short (non-linkage) function names ↵Alexey Samsonov2014-05-171-4/+9
| | | | | | | | | | for a given address. Change --functions option in llvm-symbolizer tool to accept values "none", "short" or "linkage". Update the tests and docs accordingly. llvm-svn: 209050
* [C++] Use 'nullptr'. Tools edition.Craig Topper2014-04-251-1/+1
| | | | llvm-svn: 207176
* llvm-symbolizer: add --obj flag to specify a single object file that should ↵Alexey Samsonov2013-12-241-17/+24
| | | | | | be symbolized. llvm-svn: 197988
* llvm-symbolizer: add support for Mach-O universal binariesAlexey Samsonov2013-06-281-1/+5
| | | | llvm-svn: 185137
* llvm-symbolizer: correctly parse filenames given in quotesAlexey Samsonov2013-04-051-5/+18
| | | | llvm-svn: 178859
* clang-formatize llvm-symbolizer codeAlexey Samsonov2013-02-151-11/+9
| | | | llvm-svn: 175255
* llvm-symbolizer: factor out bits of the tool into separate ↵Alexey Samsonov2013-01-221-288/+20
| | | | | | LLVMSymbolize.{h,cpp} files. No functionality change. llvm-svn: 173159
* llvm-symbolizer: add DATA command that allows to symbolize global variables.Dmitry Vyukov2013-01-111-34/+88
| | | | | | | | | | Example: >DATA bin/clang 0x26e8e40 <llvm::SparcSubTypeKV <40799808 416 The last line is address and size of the object. llvm-svn: 172180
* Sort the #include lines for tools/...Chandler Carruth2012-12-041-1/+0
| | | | | | | | Again, tools are trickier to pick the main module header for than library source files. I've started to follow the pattern of using LLVMContext.h when it is included as a stub for program source files. llvm-svn: 169252
* Rewrite DIContext interface to take an object. Update all callers.Eric Christopher2012-11-121-63/+3
| | | | llvm-svn: 167757
* Don't use __cxa_demangle under MSVC (which doesn't have it)Alexander Potapenko2012-11-121-1/+5
| | | | llvm-svn: 167730
* [ASan] Add llvm-symbolizer from to tools/Alexander Potapenko2012-11-121-0/+379
This is the second and last (2/2) part of a change that moves llvm-symbolizer to llvm/tools/, which will allow to build it with both cmake and configure+make. llvm-svn: 167723
OpenPOWER on IntegriCloud