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

Issue 181153002: Have PNaCl use debug pexe URL instead of stripped pexe w/ kEnableNaClDebug (Closed)

Created:
6 years, 10 months ago by jvoung (off chromium)
Modified:
6 years, 9 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, raymes+watch_chromium.org, teravest+watch_chromium.org, yzshen+watch_chromium.org, nfullagar1, piman+watch_chromium.org, native-client-reviews_googlegroups.com, noelallen1, binji, ihf+watch_chromium.org
Visibility:
Public.

Description

Have PNaCl use debug pexe URL instead of stripped pexe w/ kEnableNaClDebug Debug metadata is not part of the PNaCl stable bitcode format so is stripped before deployment. In order to make debugging easier (no separate translation), allow a separate debug URL in the NMF file which can point to the unstripped LLVM-formatted pexe which should still have debug metadata. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3765 TEST=browser_tests --gtest_filter=*PnaclDebugURL Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254212 R=bradnelson@chromium.org, bradnelson@google.com, dmichael@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255499

Patch Set 1 #

Patch Set 2 : change todo since build_nexe has the debug copy already #

Patch Set 3 : nosandbox win #

Total comments: 5

Patch Set 4 : add extra test case #

Patch Set 5 : fix and clean up test #

Patch Set 6 : retry base #

Patch Set 7 : split the test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -24 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/data/nacl/nacl_test_data.gyp View 1 2 3 4 3 chunks +28 lines, -0 lines 0 comments Download
A chrome/test/data/nacl/pnacl_debug_url/pnacl_debug_url.html View 1 2 3 4 5 6 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/test/data/nacl/pnacl_debug_url/pnacl_has_debug.nmf View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/test/data/nacl/pnacl_debug_url/pnacl_has_debug_flag_off.nmf View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
A + chrome/test/data/nacl/pnacl_debug_url/pnacl_no_debug.nmf View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/nacl/nacl_browsertest.cc View 1 2 3 4 5 6 2 chunks +37 lines, -0 lines 0 comments Download
M components/nacl/renderer/ppb_nacl_private_impl.cc View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M ppapi/api/private/ppb_nacl_private.idl View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M ppapi/c/private/ppb_nacl_private.h View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M ppapi/native_client/src/trusted/plugin/json_manifest.h View 2 chunks +6 lines, -3 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/json_manifest.cc View 6 chunks +28 lines, -15 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_options.h View 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_options.cc View 2 chunks +9 lines, -1 line 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 26 (0 generated)
jvoung (off chromium)
6 years, 10 months ago (2014-02-26 18:20:56 UTC) #1
bradn
- The title seems to suggest that the normal URL will be a debug url, ...
6 years, 10 months ago (2014-02-26 18:38:43 UTC) #2
bradn
LGTM, but could we add a test of the fallback in the case where debugging ...
6 years, 10 months ago (2014-02-27 00:14:41 UTC) #3
jvoung (off chromium)
-teravest since he is out until next week +dmichael for PPAPI OWNERS review https://codereview.chromium.org/181153002/diff/40001/chrome/test/data/nacl/pnacl_debug_url/pnacl_debug_url.html File ...
6 years, 9 months ago (2014-02-27 23:06:36 UTC) #4
dmichael (off chromium)
ppapi lgtm
6 years, 9 months ago (2014-02-27 23:31:19 UTC) #5
bradn
Still LGTM
6 years, 9 months ago (2014-02-27 23:38:42 UTC) #6
jvoung (off chromium)
On 2014/02/27 23:38:42, bradn wrote: > Still LGTM Thanks Brad, but I think your chromium ...
6 years, 9 months ago (2014-02-28 00:10:15 UTC) #7
bradnelson
lgtm
6 years, 9 months ago (2014-02-28 00:14:56 UTC) #8
jvoung (off chromium)
The CQ bit was checked by jvoung@chromium.org
6 years, 9 months ago (2014-02-28 17:03:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/181153002/70001
6 years, 9 months ago (2014-02-28 17:03:55 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-28 17:07:22 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel
6 years, 9 months ago (2014-02-28 17:07:22 UTC) #12
jvoung (off chromium)
The CQ bit was checked by jvoung@chromium.org
6 years, 9 months ago (2014-02-28 17:16:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/181153002/70001
6 years, 9 months ago (2014-02-28 17:16:29 UTC) #14
commit-bot: I haz the power
Change committed as 254212
6 years, 9 months ago (2014-02-28 20:37:17 UTC) #15
jvoung (off chromium)
Uploaded a second try at this CL (previous one was reverted because we couldn't allocate ...
6 years, 9 months ago (2014-03-04 19:43:53 UTC) #16
teravest
lgtm
6 years, 9 months ago (2014-03-04 19:52:36 UTC) #17
bradnelson
lgtm
6 years, 9 months ago (2014-03-04 19:59:05 UTC) #18
jvoung (off chromium)
The CQ bit was checked by jvoung@chromium.org
6 years, 9 months ago (2014-03-04 21:32:12 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/181153002/110001
6 years, 9 months ago (2014-03-04 21:32:45 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 22:02:59 UTC) #21
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, ...
6 years, 9 months ago (2014-03-04 22:02:59 UTC) #22
jvoung (off chromium)
The CQ bit was checked by jvoung@chromium.org
6 years, 9 months ago (2014-03-06 21:06:21 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/181153002/110001
6 years, 9 months ago (2014-03-06 21:14:47 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/181153002/110001
6 years, 9 months ago (2014-03-06 22:01:46 UTC) #25
jvoung (off chromium)
6 years, 9 months ago (2014-03-07 02:32:31 UTC) #26
Message was sent while issue was closed.
Committed patchset #7 manually as r255499 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698