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

Issue 718873004: Various hacks for running a clang tool on Windows.

Created:
6 years, 1 month ago by dcheng
Modified:
6 years, 1 month ago
Reviewers:
hans, Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Various hacks for running a clang tool on Windows. BUG=424436

Patch Set 1 #

Total comments: 10

Patch Set 2 : More updates #

Patch Set 3 : Checkpt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -3 lines) Patch
A include_rsp.py View 1 chunk +69 lines, -0 lines 0 comments Download
M tools/clang/rewrite_scoped_refptr/RewriteScopedRefptr.cpp View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M tools/clang/scripts/update.py View 1 2 3 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 4 (1 generated)
dcheng
Not really for review. This is what I ended up doing to get the clang ...
6 years, 1 month ago (2014-11-11 23:36:10 UTC) #2
hans
https://codereview.chromium.org/718873004/diff/1/include_rsp.py File include_rsp.py (right): https://codereview.chromium.org/718873004/diff/1/include_rsp.py#newcode40 include_rsp.py:40: # e['command'] += ' --driver-mode=cl' On 2014/11/11 23:36:07, dcheng ...
6 years, 1 month ago (2014-11-11 23:42:44 UTC) #3
dcheng
6 years, 1 month ago (2014-11-11 23:46:07 UTC) #4
On 2014/11/11 at 23:42:44, hans wrote:
> https://codereview.chromium.org/718873004/diff/1/include_rsp.py
> File include_rsp.py (right):
> 
> https://codereview.chromium.org/718873004/diff/1/include_rsp.py#newcode40
> include_rsp.py:40: # e['command'] += ' --driver-mode=cl'
> On 2014/11/11 23:36:07, dcheng wrote:
> > Lines 38-40 were various attempts to get clang-cl working in cl
compatibility
> > mode. They all failed, hence the awkward argument rewriting section at the
top.
> 
> Is it invoked as clang-cl but not getting into cl mode? That sounds weird.
> 
> Otherwise, the way to get it into cl-mode is to use --driver-mode=cl, but it
has to be the first argument or it won't work.

Ah, I think it probably wasn't the first argument. The duplicate entries for
nacl vs non-nacl would have still been problematic, though I guess I could try
to use another rule to filter them out.

Powered by Google App Engine
This is Rietveld 408576698