Commit 92bad14b authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Update clang sheriffing doc now that http://reviews.llvm.org/rL371729 is rolled in

Bug: none
Change-Id: Ib4091f42f4687bca810648fd25afcebc474be7a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1810798
Commit-Queue: Nico Weber <thakis@chromium.org>
Commit-Queue: Hans Wennborg <hans@chromium.org>
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarHans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#697577}
parent 3bb206b5
......@@ -169,11 +169,9 @@ To use `ld.lld`'s `--reproduce` flag, follow these steps:
1. Copy the link command that ninja prints, `cd out/gn`, paste it, and manually
append `-Wl,--reproduce,repro.tar`. With `lld-link`, instead append
`/linkrepro:.`. (`ld.lld`'s `--reproduce` takes a filename and is invoked
through the `clang` driver, so it needs `-Wl` to pass the flag through to
the linker. `lld-link`'s `/linkrepro:` takes a directory name and creates
a file called `repro.tar` in that directory. It's called directly, so the
flag needs no prefix.)
`/linkrepro:repro.tar`. (`ld.lld` is invoked through the `clang` driver, so
it needs `-Wl` to pass the flag through to the linker. `lld-link` is called
directly, so the flag needs no prefix.)
1. Zip up the tar file: `gzip repro.tar`. This will take a few minutes and
produce a .tar.gz file that's 0.5-1 GB.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment