Index: docs/clang_tool_refactoring.md |
diff --git a/docs/clang_tool_refactoring.md b/docs/clang_tool_refactoring.md |
index 3d9c9edf5f71bfb8075948a46ca84f2e70517758..ef7faabe97493051af6e0d90a7b7d0625ec6a5e3 100644 |
--- a/docs/clang_tool_refactoring.md |
+++ b/docs/clang_tool_refactoring.md |
@@ -97,7 +97,7 @@ doesn't work well for Chromium: |
Synopsis: |
```shell |
-tools/clang/scripts/update.py --force-local-build --without-android \ |
+tools/clang/scripts/update.py --bootstrap --force-local-build --without-android \ |
--tools blink_gc_plugin plugins rewrite_to_chrome_style |
``` |
@@ -109,6 +109,9 @@ subdirectories in |
[//tools/clang](https://chromium.googlesource.com/chromium/src/+/master/tools/clang). |
Generally, `--tools` should always include `blink_gc_plugin` and `plugins`: otherwise, Chromium won't build. |
+It is important to use --bootstrap as there appear to be [bugs](https://crbug.com/580745) |
+in the clang library this script produces if you build it with gcc, which is the default. |
+ |
## Running |
First, build all chromium targets to avoid failures due to missing dependecies |
that are generated as part of the build: |