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@cs.uiuc.edu Reporter: dave.evan...@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.
_______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev