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

Issue 1953863002: Fix invalid using decl in bionic relocation_packer (Closed)

Created:
4 years, 7 months ago by Reid Kleckner
Modified:
4 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix invalid using decl in bionic relocation_packer The code was essentially doing 'using Logger::INFO' in the global namespace to make its 'LOG(INFO)' macros work. Unfortunately, C++ does not allow you to use using decls on classes like this unless you are in a derived class. GCC does not accept this code, and Clang was recently updated (LLVM r268594) to reject it as well. This should fix the Chromium Android ASan build with TOT Clang: https://build.chromium.org/p/chromium.fyi/builders/ClangToTAndroidASan/ I'll send this patch along to AOSP after fixing it here. R=thakis@chromium.org,sgurun@chromium.org BUG=609543 Committed: https://crrev.com/4fbaaecb9433f9503946be68d0ecef63a1b4a164 Cr-Commit-Position: refs/heads/master@{#391920}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -9 lines) Patch
M third_party/android_platform/README.chromium View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/android_platform/bionic/tools/relocation_packer/src/debug.h View 1 chunk +6 lines, -9 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Reid Kleckner
4 years, 7 months ago (2016-05-05 18:41:43 UTC) #1
Nico
lgtm
4 years, 7 months ago (2016-05-05 18:43:44 UTC) #2
sgurun-gerrit only
On 2016/05/05 18:43:44, Nico wrote: > lgtm lgtm stamp
4 years, 7 months ago (2016-05-05 20:23:07 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953863002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953863002/1
4 years, 7 months ago (2016-05-05 20:38:39 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-05 21:57:19 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/4fbaaecb9433f9503946be68d0ecef63a1b4a164 Cr-Commit-Position: refs/heads/master@{#391920}
4 years, 7 months ago (2016-05-05 21:58:44 UTC) #8
Reid Kleckner
4 years, 7 months ago (2016-05-05 22:17:42 UTC) #9
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/1959513002/ by rnk@chromium.org.

The reason for reverting is: Broke Android builds due to missing namespace
qualifier.

Powered by Google App Engine
This is Rietveld 408576698