[lldb-dev] [Bug 21391] New: crashlog.py does not use alternate source paths
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Oct 27 03:58:20 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=21391
Bug ID: 21391
Summary: crashlog.py does not use alternate source paths
Product: lldb
Version: unspecified
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at cs.uiuc.edu
Reporter: dave.evans55 at googlemail.com
Classification: Unclassified
crashlog.py is not using the alternate source paths specified in the
plist.
Version info
lldb: lldb-320.4.152
xcode: Xcode 6.1
Build version 6A1052d
OS X 10.9.5 13F34
Description:
I have written a script that is invoked by crashlog.py. It looks
up the executables and dsyms in an archive directory indexed by UUID.
It determines which version of the source code applies to the
UUID and extracts the source from a repository into a pristine location.
I am following the instructions in
http://lldb.llvm.org/symbols.html
First point.
============
If I invoke the script using the defaults setting:
$ defaults write com.apple.DebugSymbols DBGShellCommands <path to script>
the script is invoked but crashlog does not load the executable and dSYMS
for my app. However, it does load all the other libraries.
If I rename the script to dsymForUUID and place it on my PATH, the script
is invoked and it now loads the executables and dSYMS. No changes were
made to the script to make this work.
Second point.
=============
I would like to display the source for the version of the app which
was loaded. The script extracts the source to a pristine location.
This is different from my usual build location which has source for the current
version of the app.
Inboking 'source list --address main' shows the source of main.m for
the current version of the app. This is not what I want.
I have set DBGSourcePath in the plist to point to the source extracted
by the script. DBGBuildSourcePath is set to my usual current build sources.
I have validated the xml in the plist using rxp and DTD from Macports. I have
carefully checked the output of the script to verify that the
correct source locations are specified.
I have built lldb using the latest trunk as of 2 days ago (r220640). It shows
the same bug as the version in Xcode 6.1
This bug may possibly be related to the problem that I cannot
get settings target.source-map to work.
Third Point
===========
Apologies: Bug 21390 was filed in error. It is empty. I inadvertantly
hit the return key while editing the summary.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20141027/e54b461f/attachment.html>
More information about the lldb-dev
mailing list