summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/common/Symbols.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Look for both .debug and dsym debugging symbol information for stripped ↵Robert Flack2015-04-241-89/+203
| | | | | | | | | | | | | | | | | executable. Currently Symbols::LocateExecutableSymbolFile on MacOSX only looks for external dsym debugging information, however if running on a stripped dwarf executable it should also check for a .debug file as well. Test Plan: ./dotest.py $DOTEST_OPTS -t -p TestSharedLibStrippedSymbols.py This test now passes when running a remote Mac -> Linux test, and still passes running locally on Mac or locally on Linux. Differential Revision: http://reviews.llvm.org/D9174 llvm-svn: 235737
* Don't #include ClangASTContext.h from Module.hZachary Turner2015-03-031-0/+2
| | | | | | | | | | | | This is part of a larger effort to reduce header file footprints. Combined, these patches reduce the build time of LLDB locally by over 30%. However, they touch many files and make many changes, so will be submitted in small incremental pieces. Reviewed By: Greg Clayton Differential Revision: http://reviews.llvm.org/D8022 llvm-svn: 231097
* Skip symlinks to the original file when searching for debug infoPavel Labath2015-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | Summary: Symbols::LocateExecutableSymbolFile tries to locate the file in containing the debug info in a splitdebug configuration. It tries to skip over the original file in its search path, but it was easily fooled by symlinks. This changes the function to use llvm::sys::fs::equivalent, which can correctly compare symlinks. As a side effect, I had to fix one test because the address for the "abort" function resolves on my system to "__GI_abort" now. With the debug info, the libc on my system contains two symbols associated with the address of the abort function, and lldb prefers __GI_abort, possibly because the debug info is associated with it. It would be nice at some point to have it prefer the public symbol name. Reviewers: emaste, zturner Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D7836 llvm-svn: 230476
* Correct a standalone debug file pathEd Maste2013-11-251-4/+4
| | | | | | | | | | | | For a file /bin/ls with a .gnu_debuglink entry of "ls.debug" the path should be /usr/lib/debug/bin/ls.debug, not /usr/lib/debug/bin/ls. ref: https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html llvm.org/pr17903 http://llvm-reviews.chandlerc.com/D2169 llvm-svn: 195681
* Missed a checking that should have been checked in with 186211.Greg Clayton2013-07-121-1/+1
| | | | llvm-svn: 186221
* Build standalone debug symbol file support on FreeBSD tooEd Maste2013-07-021-1/+1
| | | | llvm-svn: 185425
* Split symbol support for ELF and Linux.Michael Sartain2013-07-011-2/+117
| | | | llvm-svn: 185366
* Patch from Dan Malea to fix a build break I introduced yesterday.Jason Molenda2012-10-091-1/+1
| | | | | | Thanks again Dan! llvm-svn: 165519
* Added the ability to download a symboled executable and symbol file given a ↵Greg Clayton2012-09-271-0/+8
| | | | | | UUID. llvm-svn: 164753
* <rdar://problem/11374963>Greg Clayton2012-09-121-0/+9
| | | | | | Partial fix for the above radar where we now resolve dsym mach-o files within the dSYM bundle when using "add-dsym" through the platform. llvm-svn: 163676
* Made a ModuleSpec class in Module.h which can specify a module using one orGreg Clayton2012-02-261-2/+2
| | | | | | | | | | | | | | | | | | more of the local path, platform path, associated symbol file, UUID, arch, object name and object offset. This allows many of the calls that were GetSharedModule to reduce the number of arguments that were used in a call to these functions. It also allows a module to be created with a ModuleSpec which allows many things to be specified prior to any accessors being called on the Module class itself. I was running into problems when adding support for "target symbol add" where you can specify a stand alone debug info file after debugging has started where I needed to specify the associated symbol file path and if I waited until after construction, the wrong symbol file had already been located. By using the ModuleSpec it allows us to construct a module with as little or as much information as needed and not have to change the parameter list. llvm-svn: 151476
* Applied a fix to qualify "UUID" with the lldb_private namespace to fixGreg Clayton2011-02-041-2/+2
| | | | | | build issues on MinGW. llvm-svn: 124888
* Patch from Jay Cornwall that modifies the LLDB "Host" layer to reuse moreGreg Clayton2010-09-071-0/+31
code between linux, darwin and BSD. llvm-svn: 113263
OpenPOWER on IntegriCloud