Skip to content

Commit ed032df

Browse files
Remove Chromium Patches (#229)
1 parent 0d7df23 commit ed032df

File tree

3 files changed

+2
-79
lines changed

3 files changed

+2
-79
lines changed

docs/regalloc-demo/demo.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -77,23 +77,7 @@ sed -i 's/"custom_vars": {},/"custom_vars": { "checkout_pgo_profiles" : True },/
7777

7878
This `sed` command will set the necessary variable correctly. After this,
7979
you can move into the `src` directory that `fetch` created that contains
80-
the actual Chromium codebase. Now, we need to apply the bitcode embedding
81-
patch contained in this repository.
82-
83-
```bash
84-
cd src
85-
git apply $WORKING_DIR/ml-compiler-opt/experimental/chromium-bitcode-embedding.patch
86-
git apply $WORKING_DIR/ml-compiler-opt/experimental/chromium-thinlto-corpus-extraction.patch
87-
```
88-
89-
This will make a `clang_embed_bitcode` flag and a `lld_emit_index` flag
90-
available in the gn configuration.
91-
92-
**Note:** These patches may or may not work depending on code churn within the
93-
Chromium code base. They were generated with Chromium at commit
94-
`ee3114540941f915c673c85d1f21b9c16a42a287`. Doing a full fetch (i.e., omitting
95-
the `--no-history` flag) and then checking out that commit will give the best
96-
chance of success.
80+
the actual Chromium codebase.
9781

9882
Now that this is all in place, you need to run the Chromium hooks in order to
9983
get the development environment ready for a full compilation:
@@ -186,7 +170,7 @@ But if you want to extract a thinLTO corpus, you need to use the following confi
186170

187171
```
188172
is_official_build=true
189-
lld_emit_index=true
173+
lld_emit_indexes_and_imports=true
190174
is_debug=false
191175
symbol_level=0
192176
enable_nacl=false

experimental/chromium-bitcode-embedding.patch

Lines changed: 0 additions & 27 deletions
This file was deleted.

experimental/chromium-thinlto-corpus-extraction.patch

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)