[Lldb-commits] [PATCH] D43512: DWZ 11/11: Fix for symlinked .build-id/**.debug files

Jan Kratochvil via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 20 07:58:32 PST 2018


jankratochvil created this revision.
jankratochvil added reviewers: labath, clayborg.
jankratochvil added a dependency: D40475: DWZ 10/11: DWZ test mode.

So far `/usr/lib/debug/.build-id/**.debug` files could be opened any way.  But with DWZ they can contain relative filename reference to `/usr/lib/debug/.dwz/*` files which then depends on whether the build-id .debug file is a symlink or not.  Resolve the symlinks first before storing the filename for later references.

All DWZ patches are also applied in: git clone -b dwz git://git.jankratochvil.net/lldb


https://reviews.llvm.org/D43512

Files:
  packages/Python/lldbsuite/test/decorators.py
  packages/Python/lldbsuite/test/linux/buildidsymlink/Makefile
  packages/Python/lldbsuite/test/linux/buildidsymlink/TestTargetSymbolsBuildidSymlink.py
  packages/Python/lldbsuite/test/linux/buildidsymlink/main.c
  source/Host/common/Symbols.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43512.135064.patch
Type: text/x-patch
Size: 4380 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180220/b1e982be/attachment-0001.bin>


More information about the lldb-commits mailing list