summaryrefslogtreecommitdiff
path: root/CC/proto/RULES
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2025-04-23 16:43:12 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2025-04-23 16:43:12 +0200
commit1e7f2ce643f9b2c7e07c7cec7f04bcf13b489668 (patch)
tree47f42795b8bdf0589c0c38a0345754305a7cc9c7 /CC/proto/RULES
parent8308f26bb563c711915f40660898e37ef1c92155 (diff)
parent20b7c7fa1b10a90e0e3aad46579ebe450d6720b9 (diff)
downloadrules-cc-1e7f2ce643f9b2c7e07c7cec7f04bcf13b489668.tar.gz
Merge commit '20b7c7fa1b10a90e0e3aad46579ebe450d6720b9' into HEAD
Diffstat (limited to 'CC/proto/RULES')
-rw-r--r--CC/proto/RULES18
1 files changed, 17 insertions, 1 deletions
diff --git a/CC/proto/RULES b/CC/proto/RULES
index e7a2f46..35e13e6 100644
--- a/CC/proto/RULES
+++ b/CC/proto/RULES
@@ -76,7 +76,23 @@
]
, "HOST_ARCH":
["The architecture on which the build actions are carried out."]
- , "DEBUG": ["Compute the debug-stage, needed for local debugging."]
+ , "DEBUG":
+ [ "Map configuring the debug-stage, needed for local debugging."
+ , "If non-empty, debug mode is enabled."
+ , ""
+ , "The key \"USE_DEBUG_FISSION\" expects a flag which enables debug"
+ , "fission, but does not add any flags. Explicitly setting it to a false"
+ , "value is needed to enable regular debug mode."
+ , "The key \"FISSION_CONFIG\" expects a map configuring debug fission."
+ , " - subkey \"USE_SPLIT_DWARF\" expects a flag that, if true, adds the"
+ , "-gsplit-dwarf compile flag."
+ , " - subkey \"DWARF_VERSION\" expects a string that adds the"
+ , "-gdwarf-<value> compile flag."
+ , " - subkey \"USE_GDB_INDEX\" expects a flag that, if true, adds the"
+ , "-Wl,--gdb-index linker flag."
+ , " - subkey \"USE_DEBUG_TYPES_SECTION\" expects a flag that, if true,"
+ , "adds the -fdebug-types-section compile flag."
+ ]
}
, "imports":
{ "base-provides": ["./", "..", "defaults-base-provides"]