Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Issue 136033004: Use posix version of stack_trace on iOS (Closed)

Created:
6 years, 11 months ago by sdefresne
Modified:
6 years, 10 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Use posix version of stack_trace on iOS The iOS specific version was not async-safe, and the posix version works correctly on iOS (manually tested). Scrap the iOS version and always use the posix one. BUG=334640 R=mark@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250154

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Use stack_trace_posix.cc on iOS #

Total comments: 2

Patch Set 5 : #

Total comments: 1

Patch Set 6 : Rebase & remove incorrect comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -61 lines) Patch
M base/base.gypi View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M base/debug/stack_trace_ios.mm View 1 2 3 1 chunk +0 lines, -53 lines 0 comments Download
M base/debug/stack_trace_posix.cc View 1 2 3 4 5 6 chunks +1 line, -7 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
sdefresne
Please have a look
6 years, 11 months ago (2014-01-15 16:27:13 UTC) #1
Mark Mentovai
Using streams in a signal handler is a step backwards. Streams are not safe to ...
6 years, 11 months ago (2014-01-15 16:49:44 UTC) #2
sdefresne
OK, so I tried to use the posix stack_tracer on iOS and it works. So ...
6 years, 11 months ago (2014-01-15 19:08:47 UTC) #3
Mark Mentovai
Much better. https://codereview.chromium.org/136033004/diff/120001/base/debug/stack_trace_posix.cc File base/debug/stack_trace_posix.cc (right): https://codereview.chromium.org/136033004/diff/120001/base/debug/stack_trace_posix.cc#newcode198 base/debug/stack_trace_posix.cc:198: // NOTE: on iOS, info and void_context ...
6 years, 11 months ago (2014-01-15 19:14:06 UTC) #4
sdefresne
After more testing, I found that info and context are correct, so removed the corresponding ...
6 years, 11 months ago (2014-01-15 19:50:21 UTC) #5
Mark Mentovai
LGTM otherwise. https://codereview.chromium.org/136033004/diff/160001/base/debug/stack_trace_posix.cc File base/debug/stack_trace_posix.cc (right): https://codereview.chromium.org/136033004/diff/160001/base/debug/stack_trace_posix.cc#newcode197 base/debug/stack_trace_posix.cc:197: // NOTE: on iOS, info and void_context ...
6 years, 11 months ago (2014-01-15 19:51:27 UTC) #6
Mark Mentovai
Nit: in the CL description, scrape → scrap.
6 years, 11 months ago (2014-01-15 19:51:56 UTC) #7
sdefresne
The CQ bit was checked by sdefresne@chromium.org
6 years, 10 months ago (2014-02-10 09:11:52 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sdefresne@chromium.org/136033004/220001
6 years, 10 months ago (2014-02-10 09:12:03 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-10 10:48:31 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=260633
6 years, 10 months ago (2014-02-10 10:48:32 UTC) #11
sdefresne
The CQ bit was checked by sdefresne@chromium.org
6 years, 10 months ago (2014-02-10 17:22:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sdefresne@chromium.org/136033004/220001
6 years, 10 months ago (2014-02-10 17:23:39 UTC) #13
commit-bot: I haz the power
6 years, 10 months ago (2014-02-10 18:18:34 UTC) #14
Message was sent while issue was closed.
Change committed as 250154

Powered by Google App Engine
This is Rietveld 408576698