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

Issue 1406843002: Add experimental support for compiling with clang and ASan on Linux. (Closed)

Created:
5 years, 2 months ago by Oliver Chang
Modified:
5 years, 2 months ago
Reviewers:
Lei Zhang, Nico
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

(Reland) Switch builds to clang by default for Linux and OS X. Also adds support for ASan and sanitizer coverage. BUG=pdfium:1, pdfium:171 R=thakis@chromium.org, thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/5478df43a8970257e9644ae6f57a6fe7513029c6 Committed: https://pdfium.googlesource.com/pdfium/+/3b2ab45f0a883046a7c457e8435b5a9b2c1c4156

Patch Set 1 #

Patch Set 2 : remove unused var #

Total comments: 2

Patch Set 3 : DEPS in tools/clang, clang hook, sanitizer_coverage #

Patch Set 4 : #

Total comments: 9

Patch Set 5 : address comments, rebase #

Patch Set 6 : gitignore #

Total comments: 1

Patch Set 7 : rebase #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -1 line) Patch
M .gitignore View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M DEPS View 1 2 3 4 5 6 7 2 chunks +9 lines, -0 lines 0 comments Download
M build/standalone.gypi View 1 2 3 4 5 6 5 chunks +35 lines, -1 line 0 comments Download

Messages

Total messages: 24 (4 generated)
Oliver Chang
PTAL. This CL right now uses $(which clang), but this causes issues with older versions ...
5 years, 2 months ago (2015-10-14 23:33:30 UTC) #1
Lei Zhang
+thakis for all things Clang.
5 years, 2 months ago (2015-10-14 23:49:18 UTC) #3
Nico
https://codereview.chromium.org/1406843002/diff/20001/build/standalone.gypi File build/standalone.gypi (right): https://codereview.chromium.org/1406843002/diff/20001/build/standalone.gypi#newcode269 build/standalone.gypi:269: ['CC', '<!(which clang)'], Isn't it better if you deps ...
5 years, 2 months ago (2015-10-14 23:55:21 UTC) #4
Oliver Chang
Thanks for the suggestion! Made the change and threw in sanitizer_coverage as well. https://codereview.chromium.org/1406843002/diff/20001/build/standalone.gypi File ...
5 years, 2 months ago (2015-10-15 01:00:49 UTC) #5
Oliver Chang
Friendly ping, could you please take another look when you have time, Nico?
5 years, 2 months ago (2015-10-15 23:37:15 UTC) #6
Nico
sorry, this fell off my inbox, thanks for the ping. the only real question below ...
5 years, 2 months ago (2015-10-15 23:41:22 UTC) #7
Lei Zhang
https://codereview.chromium.org/1406843002/diff/60001/build/standalone.gypi File build/standalone.gypi (right): https://codereview.chromium.org/1406843002/diff/60001/build/standalone.gypi#newcode273 build/standalone.gypi:273: ['OS=="linux"', { On 2015/10/15 23:41:22, Nico wrote: > don't ...
5 years, 2 months ago (2015-10-16 00:23:16 UTC) #8
Oliver Chang
thanks, Nico. I've addressed the comments. https://codereview.chromium.org/1406843002/diff/60001/DEPS File DEPS (right): https://codereview.chromium.org/1406843002/diff/60001/DEPS#newcode86 DEPS:86: # Note: On ...
5 years, 2 months ago (2015-10-16 00:52:15 UTC) #9
Lei Zhang
On 2015/10/16 00:52:15, Oliver Chang wrote: > I don't have a Mac to test this ...
5 years, 2 months ago (2015-10-16 00:53:34 UTC) #10
Lei Zhang
Oh, should we add third_party/llvm-build/ and tools/clang to .gitignore?
5 years, 2 months ago (2015-10-16 00:58:36 UTC) #11
Oliver Chang
done
5 years, 2 months ago (2015-10-16 01:01:48 UTC) #12
Lei Zhang
On 2015/10/16 00:53:34, Lei Zhang wrote: > On 2015/10/16 00:52:15, Oliver Chang wrote: > > ...
5 years, 2 months ago (2015-10-16 01:14:43 UTC) #13
Oliver Chang
friendly ping again, Nico :)
5 years, 2 months ago (2015-10-19 16:23:41 UTC) #14
Nico
lgtm https://codereview.chromium.org/1406843002/diff/100001/.gitignore File .gitignore (right): https://codereview.chromium.org/1406843002/diff/100001/.gitignore#newcode9 .gitignore:9: /third_party/llvm this shouldn't get checked out, if it ...
5 years, 2 months ago (2015-10-19 16:28:19 UTC) #15
Oliver Chang
Committed patchset #7 (id:120001) manually as 5478df43a8970257e9644ae6f57a6fe7513029c6 (presubmit successful).
5 years, 2 months ago (2015-10-19 18:19:26 UTC) #18
Lei Zhang
On 2015/10/19 16:28:19, Nico wrote: > lgtm > > https://codereview.chromium.org/1406843002/diff/100001/.gitignore > File .gitignore (right): > ...
5 years, 2 months ago (2015-10-19 18:44:50 UTC) #19
Oliver Chang
this didn't seem to work on the buildbots because the hooks didn't seem to get ...
5 years, 2 months ago (2015-10-19 19:36:22 UTC) #20
Nico
do you have a bot link?
5 years, 2 months ago (2015-10-19 19:41:26 UTC) #21
Oliver Chang
linux: http://build.chromium.org/p/client.pdfium/builders/linux/builds/642 win (looks like a separate issue): http://build.chromium.org/p/client.pdfium/builders/win/builds/475
5 years, 2 months ago (2015-10-19 19:43:51 UTC) #22
Oliver Chang
5 years, 2 months ago (2015-10-21 20:19:33 UTC) #24
Message was sent while issue was closed.
Committed patchset #8 (id:140001) manually as
3b2ab45f0a883046a7c457e8435b5a9b2c1c4156 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698