Commit 4c700e9
Add a dedicated exec group (
This change introduces a new `cpp_dwp` exec group for the `CcGenerateDwp` action (which assembles DWARF object (`.dwo`) files into a DWARF package (`.dwp`) file) that is created when Fission is enabled. This allows users to configure execution properties specifically for the dwp generation step using, e.g., `exec_properties = {"cpp_dwp.mem": "..."}`. This complements the existing `cpp_link` exec group (memory requirements of `CcGenerateDwp` tend to increase as the number of dependencies increases, similar to linking).
This change is backwards-compatible because previously, the only way to add exec properties to `CcGenerateDwp` actions was with an unqualified property name (e.g. `{"mem": "..."}`), and that will continue working (but now may be overridden with a `cpp_dwp.*` property).
Rules other than `cc_binary` and `cc_test` may create `CcGenerateDwp` actions via calling the `create_debug_packager_actions` function in `cc_debug_helper.bzl`, but the actions will only have a non-default exec group if a `dwp_exec_group` argument is specified in the call to `create_debug_packager_actions`.
PiperOrigin-RevId: 927158851
Change-Id: Idb57839404bd48b22b663a4dc9ced2b05352b5fccpp_dwp) for CcGenerateDwp actions of cc_binary and cc_test targets1 parent 033f905 commit 4c700e9
4 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| 102 | + | |
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
| 720 | + | |
720 | 721 | | |
721 | 722 | | |
722 | 723 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
0 commit comments