summaryrefslogtreecommitdiff
path: root/rules/CC/proto/RULES
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2025-04-23 16:44:13 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2025-04-23 16:44:13 +0200
commit22609af685676ca3ab98e346b79d089edb58db31 (patch)
treee0f51ffd5c3b23a0c30aba3f5f09aca9224e9cf8 /rules/CC/proto/RULES
parent3c89987b5abf38b80553840d4717315921d7b532 (diff)
parent1e7f2ce643f9b2c7e07c7cec7f04bcf13b489668 (diff)
downloadrules-cc-22609af685676ca3ab98e346b79d089edb58db31.tar.gz
Merge commit '1e7f2ce643f9b2c7e07c7cec7f04bcf13b489668' into HEAD
Diffstat (limited to 'rules/CC/proto/RULES')
-rw-r--r--rules/CC/proto/RULES18
1 files changed, 17 insertions, 1 deletions
diff --git a/rules/CC/proto/RULES b/rules/CC/proto/RULES
index e7a2f46..35e13e6 100644
--- a/rules/CC/proto/RULES
+++ b/rules/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"]