[Lldb-commits] [PATCH] D40539: Allow using the object file name for debug symbol resolution

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 28 10:22:07 PST 2017


clayborg added a comment.

In https://reviews.llvm.org/D40539#937854, @sas wrote:

> Basically, if you have a `.debug` directory in the same directory where the original object file is, you can have debug symbols there. For instance, you can have:
>
>   /my/project/myElf.exe
>   /my/project/.debug/myElf.exe
>
>
> with the first file being a standard stripped elf file, and the second one being the associated debug symbols.


Do adding a FileSpec that contains just the basename will cause us to look for this file in the same directory as the original ELF file in the .debug folder? Does this occur elsewhere? Why not just construct the correct path in FileSpec to begin with?


https://reviews.llvm.org/D40539





More information about the lldb-commits mailing list