Closed
Bug 1118228
Opened 11 years ago
Closed 11 years ago
Add an lldb helper that allows calling functions without debug info
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: mstange, Assigned: mstange)
Details
Attachments
(1 file)
|
3.02 KB,
patch
|
jrmuizel
:
review+
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
This is very rough but allows one to do
> $ lldb
> (lldb) attach firefox
> Process 91725 stopped
> Executable module set to "/Applications/FirefoxNightly.app/Contents/MacOS/firefox".
> Architecture set to: x86_64-apple-macosx.
> (lldb) callfunc mozilla_sampler_save_profile_to_file("/Users/mstange/Desktop/profile.txt")
in order to get a profile from a hung Nightly.
Attachment #8544578 -
Flags: review?(jmuizelaar)
Comment 1•11 years ago
|
||
Comment on attachment 8544578 [details] [diff] [review]
patch
Review of attachment 8544578 [details] [diff] [review]:
-----------------------------------------------------------------
Seems reasonable to me. Ehsan might want to take a look as he's reviewed things in this file before.
You should also probably do the responsible thing and file a bug against lldb that you can put in a comment for this helper giving the motivation.
Attachment #8544578 -
Flags: review?(jmuizelaar) → review+
Updated•11 years ago
|
Attachment #8544578 -
Flags: review?(ehsan)
Updated•11 years ago
|
Attachment #8544578 -
Flags: review?(ehsan) → review+
| Assignee | ||
Comment 2•11 years ago
|
||
I've filed http://llvm.org/bugs/show_bug.cgi?id=22211 .
| Assignee | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•