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

Issue 1516543002: Update re2 (Closed)

Created:
5 years ago by battre
Modified:
5 years ago
Reviewers:
tfarina, Nico
CC:
chromium-reviews, glider+watch_chromium.org, bruening+watch_chromium.org, vabr (Chromium)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update re2 to tip of tree. This version does not require any Chrome specific patches anymore. BUG=568119 R=thakis@chromium.org,tfarina@chromium.org Committed: https://crrev.com/fd270ec705a75fd4e0883d091d9cf5204918c858 Cr-Commit-Position: refs/heads/master@{#365347}

Patch Set 1 #

Patch Set 2 : Upstreamed final remaining patch #

Patch Set 3 : Nits #

Total comments: 5

Patch Set 4 : Merge with ToT #

Patch Set 5 : Removed unintended merge from ToT #

Patch Set 6 : Remove sparse-array-valgrind.patch #

Total comments: 8

Patch Set 7 : Update instructions #

Total comments: 4

Patch Set 8 : updated update instructions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3116 lines, -6131 lines) Patch
A third_party/re2/.gitignore View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/re2/AUTHORS View 1 chunk +1 line, -1 line 0 comments Download
A third_party/re2/BUILD View 1 chunk +121 lines, -0 lines 0 comments Download
M third_party/re2/BUILD.gn View 1 2 4 chunks +4 lines, -7 lines 0 comments Download
A third_party/re2/CMakeLists.txt View 1 chunk +112 lines, -0 lines 0 comments Download
A third_party/re2/CONTRIBUTING.md View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/re2/CONTRIBUTORS View 1 chunk +6 lines, -1 line 0 comments Download
M third_party/re2/Makefile View 13 chunks +53 lines, -31 lines 0 comments Download
M third_party/re2/README View 2 chunks +17 lines, -4 lines 0 comments Download
M third_party/re2/README.chromium View 1 2 3 4 5 6 7 2 chunks +10 lines, -23 lines 0 comments Download
A third_party/re2/WORKSPACE View 1 chunk +5 lines, -0 lines 0 comments Download
A third_party/re2/benchlog/benchplot.py View 1 chunk +98 lines, -0 lines 0 comments Download
M third_party/re2/doc/mksyntaxgo View 1 chunk +1 line, -1 line 0 comments Download
M third_party/re2/doc/syntax.html View 10 chunks +43 lines, -22 lines 0 comments Download
M third_party/re2/doc/syntax.txt View 12 chunks +49 lines, -23 lines 0 comments Download
D third_party/re2/lib/codereview/codereview.cfg View 1 chunk +0 lines, -1 line 0 comments Download
D third_party/re2/lib/codereview/codereview.py View 1 chunk +0 lines, -3565 lines 0 comments Download
A third_party/re2/lib/git/commit-msg.hook View 1 chunk +104 lines, -0 lines 0 comments Download
M third_party/re2/libre2.symbols View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/re2/libre2.symbols.darwin View 1 chunk +9 lines, -1 line 0 comments Download
D third_party/re2/patches/re2-android.patch View 1 1 chunk +0 lines, -30 lines 0 comments Download
D third_party/re2/patches/re2-libcxx.patch View 1 1 chunk +0 lines, -23 lines 0 comments Download
D third_party/re2/patches/re2-msan.patch View 1 1 chunk +0 lines, -63 lines 0 comments Download
D third_party/re2/patches/re2-msvc9-chrome.patch View 1 1 chunk +0 lines, -344 lines 0 comments Download
D third_party/re2/patches/remove-valgrind-code.patch View 1 1 chunk +0 lines, -35 lines 0 comments Download
D third_party/re2/patches/sparse-array-valgrind.patch View 1 2 3 4 5 1 chunk +0 lines, -23 lines 0 comments Download
M third_party/re2/re2.gyp View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
A third_party/re2/re2.pc View 1 chunk +10 lines, -0 lines 0 comments Download
D third_party/re2/re2/Makefile View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/re2/re2/bitstate.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M third_party/re2/re2/compile.cc View 13 chunks +29 lines, -14 lines 0 comments Download
M third_party/re2/re2/dfa.cc View 37 chunks +71 lines, -93 lines 0 comments Download
M third_party/re2/re2/filtered_re2.h View 2 chunks +10 lines, -2 lines 0 comments Download
M third_party/re2/re2/filtered_re2.cc View 6 chunks +13 lines, -8 lines 0 comments Download
M third_party/re2/re2/make_perl_groups.pl View 3 chunks +20 lines, -14 lines 0 comments Download
M third_party/re2/re2/make_unicode_casefold.py View 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/re2/re2/make_unicode_groups.py View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/re2/re2/mimics_pcre.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/re2/re2/nfa.cc View 5 chunks +54 lines, -5 lines 0 comments Download
M third_party/re2/re2/onepass.cc View 3 chunks +2 lines, -5 lines 0 comments Download
M third_party/re2/re2/parse.cc View 34 chunks +141 lines, -85 lines 0 comments Download
M third_party/re2/re2/perl_groups.cc View 3 chunks +21 lines, -21 lines 0 comments Download
M third_party/re2/re2/prefilter.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/re2/re2/prefilter.cc View 9 chunks +10 lines, -7 lines 0 comments Download
M third_party/re2/re2/prefilter_tree.h View 2 chunks +2 lines, -4 lines 0 comments Download
M third_party/re2/re2/prefilter_tree.cc View 17 chunks +33 lines, -36 lines 0 comments Download
M third_party/re2/re2/prog.h View 7 chunks +11 lines, -6 lines 0 comments Download
M third_party/re2/re2/prog.cc View 3 chunks +12 lines, -10 lines 0 comments Download
M third_party/re2/re2/re2.h View 21 chunks +64 lines, -25 lines 0 comments Download
M third_party/re2/re2/re2.cc View 23 chunks +98 lines, -86 lines 0 comments Download
M third_party/re2/re2/regexp.h View 6 chunks +8 lines, -6 lines 0 comments Download
M third_party/re2/re2/regexp.cc View 13 chunks +23 lines, -14 lines 0 comments Download
M third_party/re2/re2/set.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/re2/re2/set.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/re2/re2/simplify.cc View 10 chunks +291 lines, -32 lines 0 comments Download
M third_party/re2/re2/stringpiece.h View 2 chunks +9 lines, -9 lines 0 comments Download
A + third_party/re2/re2/stringpiece.cc View 4 chunks +22 lines, -11 lines 0 comments Download
M third_party/re2/re2/testing/backtrack.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/re2/re2/testing/compile_test.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/re2/re2/testing/dfa_test.cc View 7 chunks +19 lines, -15 lines 0 comments Download
M third_party/re2/re2/testing/dump.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/re2/re2/testing/exhaustive2_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/re2/re2/testing/exhaustive3_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/re2/re2/testing/exhaustive_tester.h View 2 chunks +11 lines, -1 line 0 comments Download
M third_party/re2/re2/testing/exhaustive_tester.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/re2/re2/testing/filtered_re2_test.cc View 4 chunks +9 lines, -11 lines 0 comments Download
M third_party/re2/re2/testing/null_walker.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/re2/re2/testing/parse_test.cc View 5 chunks +40 lines, -3 lines 0 comments Download
M third_party/re2/re2/testing/possible_match_test.cc View 4 chunks +10 lines, -9 lines 0 comments Download
M third_party/re2/re2/testing/random_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/re2/re2/testing/re2_arg_test.cc View 1 chunk +9 lines, -9 lines 0 comments Download
M third_party/re2/re2/testing/re2_test.cc View 14 chunks +177 lines, -25 lines 0 comments Download
M third_party/re2/re2/testing/regexp_benchmark.cc View 5 chunks +12 lines, -10 lines 0 comments Download
M third_party/re2/re2/testing/regexp_generator.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/re2/re2/testing/regexp_generator.cc View 7 chunks +7 lines, -7 lines 0 comments Download
M third_party/re2/re2/testing/regexp_test.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/re2/re2/testing/required_prefix_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/re2/re2/testing/set_test.cc View 2 chunks +29 lines, -3 lines 0 comments Download
M third_party/re2/re2/testing/simplify_test.cc View 1 chunk +93 lines, -0 lines 0 comments Download
M third_party/re2/re2/testing/string_generator.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/re2/re2/testing/string_generator.cc View 4 chunks +5 lines, -6 lines 0 comments Download
M third_party/re2/re2/testing/tester.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/re2/re2/testing/tester.cc View 6 chunks +21 lines, -8 lines 0 comments Download
D third_party/re2/re2/testing/unicode_test.py View 1 chunk +0 lines, -207 lines 0 comments Download
M third_party/re2/re2/tostring.cc View 5 chunks +11 lines, -7 lines 0 comments Download
M third_party/re2/re2/unicode.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/re2/re2/unicode_casefold.h View 1 chunk +8 lines, -8 lines 0 comments Download
M third_party/re2/re2/unicode_casefold.cc View 8 chunks +19 lines, -8 lines 0 comments Download
M third_party/re2/re2/unicode_groups.h View 1 chunk +10 lines, -10 lines 0 comments Download
M third_party/re2/re2/unicode_groups.cc View 152 chunks +560 lines, -333 lines 0 comments Download
M third_party/re2/re2/walker-inl.h View 1 chunk +1 line, -1 line 0 comments Download
A third_party/re2/re2_test.bzl View 1 chunk +14 lines, -0 lines 0 comments Download
M third_party/re2/testinstall.cc View 1 chunk +2 lines, -0 lines 0 comments Download
D third_party/re2/util/arena.h View 1 chunk +0 lines, -103 lines 0 comments Download
D third_party/re2/util/arena.cc View 1 chunk +0 lines, -168 lines 0 comments Download
M third_party/re2/util/atomicops.h View 5 chunks +114 lines, -14 lines 0 comments Download
M third_party/re2/util/benchmark.cc View 2 chunks +21 lines, -2 lines 0 comments Download
M third_party/re2/util/flags.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/re2/util/logging.h View 4 chunks +36 lines, -18 lines 0 comments Download
A third_party/re2/util/logging.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/re2/util/mutex.h View 1 6 chunks +34 lines, -15 lines 0 comments Download
M third_party/re2/util/pcre.h View 2 chunks +2 lines, -21 lines 0 comments Download
M third_party/re2/util/pcre.cc View 18 chunks +60 lines, -27 lines 0 comments Download
M third_party/re2/util/rune.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M third_party/re2/util/sparse_array.h View 1 2 3 4 6 chunks +25 lines, -14 lines 0 comments Download
D third_party/re2/util/sparse_array_test.cc View 1 chunk +0 lines, -150 lines 0 comments Download
M third_party/re2/util/sparse_set.h View 6 chunks +15 lines, -10 lines 0 comments Download
D third_party/re2/util/stringpiece.cc View 1 chunk +0 lines, -87 lines 0 comments Download
M third_party/re2/util/stringprintf.cc View 3 chunks +9 lines, -2 lines 0 comments Download
M third_party/re2/util/strutil.cc View 4 chunks +11 lines, -5 lines 0 comments Download
M third_party/re2/util/test.h View 1 chunk +2 lines, -14 lines 0 comments Download
M third_party/re2/util/test.cc View 2 chunks +1 line, -13 lines 0 comments Download
M third_party/re2/util/thread.h View 2 chunks +9 lines, -2 lines 0 comments Download
M third_party/re2/util/thread.cc View 1 chunk +1 line, -3 lines 0 comments Download
A + third_party/re2/util/threadwin.cc View 3 chunks +9 lines, -9 lines 0 comments Download
M third_party/re2/util/util.h View 7 chunks +34 lines, -35 lines 0 comments Download
M third_party/re2/util/valgrind.h View 2 chunks +1 line, -2 lines 0 comments Download
M third_party/re2/util/valgrind.cc View 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
battre
Hi Nico, could you please review this CL? I think that we have reached a ...
5 years ago (2015-12-10 13:32:05 UTC) #3
tfarina
I have some questions about our patches. I really want to make sure we aren't ...
5 years ago (2015-12-12 13:01:24 UTC) #5
battre
https://codereview.chromium.org/1516543002/diff/100001/third_party/re2/README.chromium File third_party/re2/README.chromium (left): https://codereview.chromium.org/1516543002/diff/100001/third_party/re2/README.chromium#oldcode17 third_party/re2/README.chromium:17: (patches/remove-valgrind-code.patch) On 2015/12/12 13:01:24, tfarina wrote: > base/third_party/dynamic_annotations/dynamic_annotations.h include ...
5 years ago (2015-12-12 13:45:05 UTC) #6
battre
I have added commands for generating an update to README.chromium and executed them. So the ...
5 years ago (2015-12-14 08:29:43 UTC) #7
tfarina
On 2015/12/14 08:29:43, battre wrote: > I have added commands for generating an update to ...
5 years ago (2015-12-14 09:30:05 UTC) #9
battre
https://codereview.chromium.org/1516543002/diff/120001/third_party/re2/re2.gyp File third_party/re2/re2.gyp (right): https://codereview.chromium.org/1516543002/diff/120001/third_party/re2/re2.gyp#newcode21 third_party/re2/re2.gyp:21: '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', On 2015/12/14 09:30:05, tfarina wrote: > Are we ...
5 years ago (2015-12-14 21:25:51 UTC) #10
Nico
lgtm, thanks much! Maybe we can make re2 a real dep pulled from a github ...
5 years ago (2015-12-15 19:04:56 UTC) #11
battre
Thank you. I have updated the update documentation. Once this sticks and the bots stay ...
5 years ago (2015-12-15 19:44:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1516543002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1516543002/140001
5 years ago (2015-12-15 19:46:55 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/120810)
5 years ago (2015-12-15 21:09:01 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1516543002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1516543002/140001
5 years ago (2015-12-15 21:12:32 UTC) #19
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years ago (2015-12-15 21:54:32 UTC) #21
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/fd270ec705a75fd4e0883d091d9cf5204918c858 Cr-Commit-Position: refs/heads/master@{#365347}
5 years ago (2015-12-15 21:55:21 UTC) #23
battre
5 years ago (2015-12-16 08:28:20 UTC) #24
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.chromium.org/1530113002/ by battre@chromium.org.

The reason for reverting is: Dr. Memory complains about uninitialized memory
(see bug)..

Powered by Google App Engine
This is Rietveld 408576698