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

Issue 1562223002: Avoid comparing size_t to be < 0 on AArch64. (Closed)

Created:
4 years, 11 months ago by Dmitry Skiba
Modified:
4 years, 11 months ago
Base URL:
https://chromium.googlesource.com/breakpad/breakpad/src.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Avoid comparing size_t to be < 0 on AArch64. cpu_features_entries is empty on AArch64 and causes tautological-compare warning when compiling with Clang. BUG=539781

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M client/linux/minidump_writer/minidump_writer.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (3 generated)
Dmitry Skiba
Please review.
4 years, 11 months ago (2016-01-06 22:01:10 UTC) #3
Lei Zhang
Mark, can we use range-based for loops in Breakpad? If so, the change can be ...
4 years, 11 months ago (2016-01-06 22:06:22 UTC) #5
Mark Mentovai
The easiest way to know if we can use range-based for is to try it ...
4 years, 11 months ago (2016-01-06 22:08:16 UTC) #6
Lei Zhang
On 2016/01/06 22:08:16, Mark Mentovai wrote: > The easiest way to know if we can ...
4 years, 11 months ago (2016-01-06 22:12:40 UTC) #7
Dmitry Skiba
On 2016/01/06 22:08:16, Mark Mentovai wrote: > The easiest way to know if we can ...
4 years, 11 months ago (2016-01-06 22:13:49 UTC) #8
Lei Zhang
On 2016/01/06 22:13:49, Dmitry Skiba wrote: > On 2016/01/06 22:08:16, Mark Mentovai wrote: > > ...
4 years, 11 months ago (2016-01-06 22:32:25 UTC) #9
Dmitry Skiba
On 2016/01/06 22:32:25, Lei Zhang wrote: > On 2016/01/06 22:13:49, Dmitry Skiba wrote: > > ...
4 years, 11 months ago (2016-01-06 23:33:14 UTC) #10
Lei Zhang
On 2016/01/06 23:33:14, Dmitry Skiba wrote: > On 2016/01/06 22:32:25, Lei Zhang wrote: > > ...
4 years, 11 months ago (2016-01-06 23:41:45 UTC) #11
Dmitry Skiba
On 2016/01/06 23:41:45, Lei Zhang wrote: > On 2016/01/06 23:33:14, Dmitry Skiba wrote: > > ...
4 years, 11 months ago (2016-01-06 23:58:24 UTC) #12
Lei Zhang
4 years, 11 months ago (2016-01-07 00:14:50 UTC) #13
On 2016/01/06 23:58:24, Dmitry Skiba wrote:
> On 2016/01/06 23:41:45, Lei Zhang wrote:
> > On 2016/01/06 23:33:14, Dmitry Skiba wrote:
> > > On 2016/01/06 22:32:25, Lei Zhang wrote:
> > > > On 2016/01/06 22:13:49, Dmitry Skiba wrote:
> > > > > On 2016/01/06 22:08:16, Mark Mentovai wrote:
> > > > > > The easiest way to know if we can use range-based for is to try it
and
> > go
> > > > back
> > > > > > if it turns out that an important consumer can’t deal with it.
> > > > > 
> > > > > BTW, there are 3 other places which look the same and can also be
> > converted
> > > to
> > > > > range loops. I believe the conversion should include those and be
commit
> > on
> > > > its
> > > > > own.
> > > > 
> > > > Feel free to fix them all in one go.
> > > 
> > > Sorry, this is not what I want - I want to just fix Clang compilation
issue,
> > and
> > > not to bring C++11 change that might require reverting and refixing. And
> also
> > > retesting - changing < to != in that for loop is a noop change that
doesn't
> > > affect generated code and cannot fail on platforms that I don't have
access
> > to.
> > > While using range for loop potentially opens a can of worms.
> > 
> > That's fine. We can land this and I'll do the C++11 change separately. lgtm
> > 
> > Let me know if you need me to land this for you.
> 
> Thanks! Yes, I'm having issues with 'gi cl land' - is that what I should use?
> "
> error: failed to push some refs to
> 'https://chromium.googlesource.com/breakpad/breakpad/src.git'
> Failed to push. If this persists, please file a bug.
> "

CL for landing: https://codereview.chromium.org/1566893002

You are not in a standalone Breakpad checkout and you don't have committer
anyway.

Powered by Google App Engine
This is Rietveld 408576698