Alexey Samsonov
ce694a322e
llvm-symbolizer: don't always run demangler on global object names
...
llvm-svn: 192781
2013-10-16 09:54:49 +00:00
Alexey Samsonov
3ddfca05b8
llvm-symbolizer: use real path when looking for debug binary location
...
llvm-svn: 189250
2013-08-26 18:12:03 +00:00
Alexey Samsonov
791d1b9fe4
llvm-symbolizer: add support for .gnu_debuglink section
...
llvm-svn: 188386
2013-08-14 17:09:30 +00:00
NAKAMURA Takumi
ade122d371
LLVMSymbolize.cpp: Fix build. Triple::ArchType is not a namespace.
...
llvm-svn: 186494
2013-07-17 06:53:51 +00:00
Alexey Samsonov
5256cb6f86
llvm-symbolizer: be more careful with colons in file names
...
llvm-svn: 186493
2013-07-17 06:45:36 +00:00
NAKAMURA Takumi
49cb43826a
llvm-symbolizer: Recognize a drive letter on win32. Then "REQUIRES: shell" can be removed.
...
FIXME: Could we use llvm::sys::Path here?
llvm-svn: 185322
2013-07-01 09:51:42 +00:00
Alexey Samsonov
8a74ed4a71
llvm-symbolizer: don't leave dangling pointers after flushing LLVMSymbolizer. Add a destructor.
...
llvm-svn: 185154
2013-06-28 15:08:29 +00:00
Alexey Samsonov
225b8ce2e7
llvm-symbolizer: skip leading underscore in Mach-O symbol table entries
...
llvm-svn: 185151
2013-06-28 14:25:52 +00:00
Alexey Samsonov
f200004c4f
llvm-symbolizer: make name demangling a public static method of LLVMSymbolizer
...
llvm-svn: 185143
2013-06-28 12:06:25 +00:00
Alexey Samsonov
317fbb1c4a
llvm-symbolizer: add support for Mach-O universal binaries
...
llvm-svn: 185137
2013-06-28 08:15:40 +00:00
Alexey Samsonov
07bb3e55fa
[llvm-symbolizer] rewrite r183213 in a more clear way
...
llvm-svn: 183526
2013-06-07 15:25:27 +00:00
Alexey Samsonov
56349d7f8b
[llvm-symbolizer] Avoid calling slow getSymbolSize for Mach-O files. Assume that symbols with zero size are in fact large enough.
...
llvm-svn: 183213
2013-06-04 07:57:38 +00:00
Alexey Samsonov
a4e889ae51
Correct handling invalid filename in llvm-symbolizer
...
llvm-svn: 183102
2013-06-03 14:12:39 +00:00
Rafael Espindola
c44b97c596
At Jim Grosbach's request detemplate Object/MachO.h.
...
We are still able to handle mixed endian objects by swapping one struct at a
time.
llvm-svn: 179778
2013-04-18 18:08:55 +00:00
Rafael Espindola
8c4963712f
Convert MachOObjectFile to a template.
...
For now it is templated only on being 64 or 32 bits. I will add little/big
endian next.
llvm-svn: 179097
2013-04-09 14:49:08 +00:00
Alexey Samsonov
5cf62b262f
llvm-symbolizer: correctly parse filenames given in quotes
...
llvm-svn: 178859
2013-04-05 09:22:24 +00:00
Alexey Samsonov
9ef392c8d9
Fix for r177390: map values are pointers, use DeleteContainerSeconds() instead of .clear()
...
llvm-svn: 177409
2013-03-19 15:33:18 +00:00
Dmitry Vyukov
46ac9e0aa6
llvm-symbolizer: flush internal caches functionality
...
llvm-svn: 177390
2013-03-19 10:24:42 +00:00
Alexey Samsonov
ce14af1162
clang-formatize llvm-symbolizer code
...
llvm-svn: 175255
2013-02-15 08:54:47 +00:00
Dmitry Vyukov
9f7fc60976
llvm-symbolizer: speedup symbol lookup
...
llvm-svn: 175158
2013-02-14 13:06:18 +00:00
Alexey Samsonov
c4a2f261a7
Print error messages from MemoryBuffer::getFile() in llvm-symbolizer
...
llvm-svn: 174346
2013-02-05 07:01:34 +00:00
Alexey Samsonov
581db2e77f
Replace global std::string with const char[]
...
llvm-svn: 174332
2013-02-04 15:55:26 +00:00
Alexey Samsonov
17eb4abe97
llvm-symbolizer: factor out bits of the tool into separate LLVMSymbolize.{h,cpp} files. No functionality change.
...
llvm-svn: 173159
2013-01-22 14:21:19 +00:00
Dmitry Vyukov
0457138552
llvm-symbolizer: add DATA command that allows to symbolize global variables.
...
Example:
>DATA bin/clang 0x26e8e40
<llvm::SparcSubTypeKV
<40799808 416
The last line is address and size of the object.
llvm-svn: 172180
2013-01-11 07:16:20 +00:00
Chandler Carruth
800daa7d3d
Sort the #include lines for tools/...
...
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
2012-12-04 10:44:52 +00:00
Eric Christopher
9df7c1b185
Rewrite DIContext interface to take an object. Update all callers.
...
llvm-svn: 167757
2012-11-12 21:40:38 +00:00
Alexander Potapenko
7d1c22f15d
Don't use __cxa_demangle under MSVC (which doesn't have it)
...
llvm-svn: 167730
2012-11-12 14:49:58 +00:00
Alexander Potapenko
441c9aafe6
[ASan] Add llvm-symbolizer from to tools/
...
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
2012-11-12 11:33:29 +00:00