Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [C++] Use 'nullptr'. Tools edition. | Craig Topper | 2014-04-25 | 2 | -14/+14 | |
| | | | | llvm-svn: 207176 | |||||
* | Use unique_ptr to manage ParsedBinariesAndObjects in LLVMSymbolizer | David Blaikie | 2014-04-22 | 2 | -8/+8 | |
| | | | | llvm-svn: 206866 | |||||
* | [DWARF parser] Turn DILineInfo into a struct. | Alexey Samsonov | 2014-04-18 | 1 | -13/+5 | |
| | | | | | | | | | | Immutable DILineInfo doesn't bring any benefits and complicates code. Also, use std::string instead of SmallString<16> for file and function names - their length can vary significantly. No functionality change. llvm-svn: 206654 | |||||
* | [C++11] Introduce ObjectFile::symbols() to use range-based loops. | Alexey Samsonov | 2014-03-17 | 2 | -12/+10 | |
| | | | | | | | | | | | | Reviewers: rafael Reviewed By: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D3081 llvm-svn: 204031 | |||||
* | [C++11] Use ObjectFile::sections() in commandline llvm tools | Alexey Samsonov | 2014-03-13 | 1 | -4/+3 | |
| | | | | llvm-svn: 203802 | |||||
* | Replace OwningPtr<T> with std::unique_ptr<T>. | Ahmed Charles | 2014-03-06 | 2 | -5/+4 | |
| | | | | | | | | | | This compiles with no changes to clang/lld/lldb with MSVC and includes overloads to various functions which are used by those projects and llvm which have OwningPtr's as parameters. This should allow out of tree projects some time to move. There are also no changes to libs/Target, which should help out of tree targets have time to move, if necessary. llvm-svn: 203083 | |||||
* | [C++11] Replace OwningPtr::take() with OwningPtr::release(). | Ahmed Charles | 2014-03-05 | 1 | -2/+2 | |
| | | | | llvm-svn: 202957 | |||||
* | llvm-symbolizer: use dynamic symbol table if the regular one is stripped. | Alexey Samsonov | 2014-02-26 | 2 | -29/+44 | |
| | | | | llvm-svn: 202265 | |||||
* | Change the begin and end methods in ObjectFile to match the style guide. | Rafael Espindola | 2014-02-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 201108 | |||||
* | Simplify the handling of iterators in ObjectFile. | Rafael Espindola | 2014-01-30 | 1 | -6/+2 | |
| | | | | | | | | | | | | None of the object file formats reported error on iterator increment. In retrospect, that is not too surprising: no object format stores symbols or sections in a linked list or other structure that requires chasing pointers. As a consequence, all error checking can be done on begin() and end(). This reduces the text segment of bin/llvm-readobj in my machine from 521233 to 518526 bytes. llvm-svn: 200442 | |||||
* | llvm-symbolizer: make mangled name heuristic apply to all symbols | Ed Maste | 2014-01-16 | 2 | -8/+5 | |
| | | | | | | PR: http://llvm.org/pr18431 Review: http://llvm-reviews.chandlerc.com/D2552 llvm-svn: 199404 | |||||
* | Return an ErrorOr<Binary *> from createBinary. | Rafael Espindola | 2014-01-15 | 1 | -9/+12 | |
| | | | | | | | | I did write a version returning ErrorOr<OwningPtr<Binary> >, but it is too cumbersome to use without std::move. I will keep the patch locally and submit when we switch to c++11. llvm-svn: 199326 | |||||
* | Check the error code and save a call to sys::fs::exists. | Rafael Espindola | 2014-01-15 | 1 | -4/+2 | |
| | | | | llvm-svn: 199293 | |||||
* | Re-sort #include lines again, prior to moving headers around. | Chandler Carruth | 2014-01-13 | 1 | -1/+0 | |
| | | | | llvm-svn: 199080 | |||||
* | llvm-symbolizer: add --obj flag to specify a single object file that should ↵ | Alexey Samsonov | 2013-12-24 | 1 | -17/+24 | |
| | | | | | | be symbolized. llvm-svn: 197988 | |||||
* | [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. | NAKAMURA Takumi | 2013-12-10 | 1 | -0/+1 | |
| | | | | llvm-svn: 196908 | |||||
* | llvm-symbolizer: don't always run demangler on global object names | Alexey Samsonov | 2013-10-16 | 2 | -1/+8 | |
| | | | | llvm-svn: 192781 | |||||
* | llvm-symbolizer: use real path when looking for debug binary location | Alexey Samsonov | 2013-08-26 | 1 | -2/+11 | |
| | | | | llvm-svn: 189250 | |||||
* | llvm-symbolizer: add support for .gnu_debuglink section | Alexey Samsonov | 2013-08-14 | 1 | -0/+83 | |
| | | | | llvm-svn: 188386 | |||||
* | LLVMSymbolize.cpp: Fix build. Triple::ArchType is not a namespace. | NAKAMURA Takumi | 2013-07-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 186494 | |||||
* | llvm-symbolizer: be more careful with colons in file names | Alexey Samsonov | 2013-07-17 | 1 | -8/+7 | |
| | | | | llvm-svn: 186493 | |||||
* | llvm-symbolizer: Recognize a drive letter on win32. Then "REQUIRES: shell" ↵ | NAKAMURA Takumi | 2013-07-01 | 1 | -0/+5 | |
| | | | | | | | can be removed. FIXME: Could we use llvm::sys::Path here? llvm-svn: 185322 | |||||
* | llvm-symbolizer: don't leave dangling pointers after flushing ↵ | Alexey Samsonov | 2013-06-28 | 2 | -0/+5 | |
| | | | | | | LLVMSymbolizer. Add a destructor. llvm-svn: 185154 | |||||
* | llvm-symbolizer: skip leading underscore in Mach-O symbol table entries | Alexey Samsonov | 2013-06-28 | 1 | -0/+3 | |
| | | | | llvm-svn: 185151 | |||||
* | llvm-symbolizer: make name demangling a public static method of LLVMSymbolizer | Alexey Samsonov | 2013-06-28 | 2 | -9/+11 | |
| | | | | llvm-svn: 185143 | |||||
* | llvm-symbolizer: add support for Mach-O universal binaries | Alexey Samsonov | 2013-06-28 | 3 | -42/+101 | |
| | | | | llvm-svn: 185137 | |||||
* | [llvm-symbolizer] rewrite r183213 in a more clear way | Alexey Samsonov | 2013-06-07 | 2 | -7/+10 | |
| | | | | llvm-svn: 183526 | |||||
* | [llvm-symbolizer] Avoid calling slow getSymbolSize for Mach-O files. Assume ↵ | Alexey Samsonov | 2013-06-04 | 2 | -9/+20 | |
| | | | | | | that symbols with zero size are in fact large enough. llvm-svn: 183213 | |||||
* | Correct handling invalid filename in llvm-symbolizer | Alexey Samsonov | 2013-06-03 | 1 | -2/+2 | |
| | | | | llvm-svn: 183102 | |||||
* | At Jim Grosbach's request detemplate Object/MachO.h. | Rafael Espindola | 2013-04-18 | 1 | -1/+1 | |
| | | | | | | | We are still able to handle mixed endian objects by swapping one struct at a time. llvm-svn: 179778 | |||||
* | Convert MachOObjectFile to a template. | Rafael Espindola | 2013-04-09 | 1 | -1/+1 | |
| | | | | | | | For now it is templated only on being 64 or 32 bits. I will add little/big endian next. llvm-svn: 179097 | |||||
* | llvm-symbolizer: correctly parse filenames given in quotes | Alexey Samsonov | 2013-04-05 | 1 | -5/+18 | |
| | | | | llvm-svn: 178859 | |||||
* | Fix for r177390: map values are pointers, use DeleteContainerSeconds() ↵ | Alexey Samsonov | 2013-03-19 | 1 | -1/+2 | |
| | | | | | | instead of .clear() llvm-svn: 177409 | |||||
* | llvm-symbolizer: flush internal caches functionality | Dmitry Vyukov | 2013-03-19 | 2 | -0/+5 | |
| | | | | llvm-svn: 177390 | |||||
* | clang-formatize llvm-symbolizer code | Alexey Samsonov | 2013-02-15 | 3 | -78/+69 | |
| | | | | llvm-svn: 175255 | |||||
* | llvm-symbolizer: speedup symbol lookup | Dmitry Vyukov | 2013-02-14 | 2 | -43/+73 | |
| | | | | llvm-svn: 175158 | |||||
* | Print error messages from MemoryBuffer::getFile() in llvm-symbolizer | Alexey Samsonov | 2013-02-05 | 1 | -1/+2 | |
| | | | | llvm-svn: 174346 | |||||
* | Replace global std::string with const char[] | Alexey Samsonov | 2013-02-04 | 2 | -2/+2 | |
| | | | | llvm-svn: 174332 | |||||
* | llvm-symbolizer: factor out bits of the tool into separate ↵ | Alexey Samsonov | 2013-01-22 | 4 | -288/+381 | |
| | | | | | | LLVMSymbolize.{h,cpp} files. No functionality change. llvm-svn: 173159 | |||||
* | llvm-symbolizer: add DATA command that allows to symbolize global variables. | Dmitry Vyukov | 2013-01-11 | 1 | -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 Carruth | 2012-12-04 | 1 | -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 Christopher | 2012-11-12 | 1 | -63/+3 | |
| | | | | llvm-svn: 167757 | |||||
* | Don't use __cxa_demangle under MSVC (which doesn't have it) | Alexander Potapenko | 2012-11-12 | 1 | -1/+5 | |
| | | | | llvm-svn: 167730 | |||||
* | [ASan] Add llvm-symbolizer from to tools/ | Alexander Potapenko | 2012-11-12 | 3 | -0/+409 | |
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 |