RESOLVED FIXED Bug 158316
Clean up how StackVisitor dumps its frames.
https://bugs.webkit.org/show_bug.cgi?id=158316
Summary Clean up how StackVisitor dumps its frames.
Mark Lam
Reported 2016-06-02 14:33:56 PDT
Update to dump with a PrintStream.
Attachments
proposed patch. (18.73 KB, patch)
2016-06-02 17:14 PDT, Mark Lam
keith_miller: review+
Mark Lam
Comment 1 2016-06-02 17:14:01 PDT
Created attachment 280388 [details] proposed patch.
WebKit Commit Bot
Comment 2 2016-06-02 17:15:27 PDT
Attachment 280388 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/interpreter/StackVisitor.h:91: The parameter name "indent" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Keith Miller
Comment 3 2016-06-02 17:24:11 PDT
Comment on attachment 280388 [details] proposed patch. r=me.
Mark Lam
Comment 4 2016-06-03 07:52:56 PDT
Thanks for the review. Fixed style issue and landed in r201641: <http://trac.webkit.org/r201641>.
Ryan Haddad
Comment 5 2016-06-03 09:30:00 PDT
This change appears to have broken the CLoop build: https://build.webkit.org/builders/Apple%20Yosemite%20LLINT%20CLoop%20%28BuildAndTest%29/builds/ /Volumes/Data/slave/yosemite-cloop-debug/build/Source/JavaScriptCore/interpreter/StackVisitor.h:92:43: error: no type named 'function' in namespace 'std'; did you mean '::Function'? /Volumes/Data/slave/yosemite-cloop-debug/build/Source/JavaScriptCore/interpreter/StackVisitor.h:92:56: error: expected ')' /Volumes/Data/slave/yosemite-cloop-debug/build/Source/JavaScriptCore/interpreter/StackVisitor.cpp:349:5: error: no matching member function for call to 'dump' /Volumes/Data/slave/yosemite-cloop-debug/build/Source/JavaScriptCore/interpreter/StackVisitor.cpp:352:27: error: out-of-line definition of 'dump' does not match any declaration in 'JSC::StackVisitor::Frame'
Mark Lam
Comment 6 2016-06-03 09:30:42 PDT
(In reply to comment #5) > This change appears to have broken the CLoop build: > https://build.webkit.org/builders/ > Apple%20Yosemite%20LLINT%20CLoop%20%28BuildAndTest%29/builds/ > > /Volumes/Data/slave/yosemite-cloop-debug/build/Source/JavaScriptCore/ > interpreter/StackVisitor.h:92:43: error: no type named 'function' in > namespace 'std'; did you mean '::Function'? > /Volumes/Data/slave/yosemite-cloop-debug/build/Source/JavaScriptCore/ > interpreter/StackVisitor.h:92:56: error: expected ')' > /Volumes/Data/slave/yosemite-cloop-debug/build/Source/JavaScriptCore/ > interpreter/StackVisitor.cpp:349:5: error: no matching member function for > call to 'dump' > /Volumes/Data/slave/yosemite-cloop-debug/build/Source/JavaScriptCore/ > interpreter/StackVisitor.cpp:352:27: error: out-of-line definition of 'dump' > does not match any declaration in 'JSC::StackVisitor::Frame' I will fix.
Mark Lam
Comment 7 2016-06-03 09:49:19 PDT
CLoop fix landed in r201646: <http://trac.webkit.org/r201646>.
Note You need to log in before you can comment on or make changes to this bug.