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

Issue 1879753002: clang update.py: When running tests on Windows, make sure DIA works. (Closed)

Created:
4 years, 8 months ago by Nico
Modified:
4 years, 8 months ago
Reviewers:
hans
CC:
chromium-reviews, yunlian, eugenis+clang_chromium.org, glider+clang_chromium.org, dmikurube+clang_chromium.org, ukai+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

clang update.py: When running tests on Windows, make sure DIA works. LLVM's DIA reading code either needs DIA registered in the registry, or it needs msdia140.dll somewhere. Copy msdia140.dll from the hermetic toolchain into the bin/ directory so it's next to llvm-symbolizer.exe and friends. (This means the tests that package.py runs will only all pass for people and bots that have access to the hermetic toolchain.) Also do this after downloading clang. (Here it's not guaranteed that people have access to the hermetic toolchain -- the script will fall back to a MSVC install and copy from there. Since this requires msdia140.dll, this means we now require either the hermetic toolchain or an installed MSVS2015. If this caused problems, we can reconsider.) BUG=596201 Committed: https://crrev.com/bf3b64ab66179b2435fc7b10cfd091247b8cab87 Cr-Commit-Position: refs/heads/master@{#386745}

Patch Set 1 #

Patch Set 2 : copy dia instead #

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -1 line) Patch
M tools/clang/scripts/update.py View 1 2 3 5 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 15 (8 generated)
Nico
4 years, 8 months ago (2016-04-12 16:37:04 UTC) #4
hans
> LLVM's DIA reading path either needs DIA registered in the registry, > or it ...
4 years, 8 months ago (2016-04-12 16:47:23 UTC) #5
Nico
https://codereview.chromium.org/1879753002/diff/40001/tools/clang/scripts/update.py File tools/clang/scripts/update.py (right): https://codereview.chromium.org/1879753002/diff/40001/tools/clang/scripts/update.py#newcode224 tools/clang/scripts/update.py:224: print "Copying %s to %s" % (src, dst) On ...
4 years, 8 months ago (2016-04-12 17:00:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1879753002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1879753002/60001
4 years, 8 months ago (2016-04-12 17:01:42 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-12 18:25:27 UTC) #12
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/bf3b64ab66179b2435fc7b10cfd091247b8cab87 Cr-Commit-Position: refs/heads/master@{#386745}
4 years, 8 months ago (2016-04-12 18:27:26 UTC) #14
Wei Li
4 years, 8 months ago (2016-04-18 17:29:52 UTC) #15
Message was sent while issue was closed.
On 2016/04/12 18:27:26, commit-bot: I haz the power wrote:
> Patchset 4 (id:??) landed as
> https://crrev.com/bf3b64ab66179b2435fc7b10cfd091247b8cab87
> Cr-Commit-Position: refs/heads/master@{#386745}

It is breaking PDFium now which doesn't have hermetic toolchain,
nor requires VS2015.

Powered by Google App Engine
This is Rietveld 408576698