MCPcopy Create free account
hub / github.com/FastLED/FastLED / _lib_dwarf_prefix_map_flags

Function _lib_dwarf_prefix_map_flags

ci/wasm_flags.py:72–78  ·  view source on GitHub ↗
(config: dict[str, Any], mode: str)

Source from the content-addressed store, hash-verified

70
71
72def _lib_dwarf_prefix_map_flags(config: dict[str, Any], mode: str) -> list[str]:
73 if mode not in DEBUG_PATH_MAP_MODES:
74 return []
75
76 dwarf = _dwarf_config(config)
77 fastled_prefix = _dwarf_prefix(dwarf, "fastled_prefix", "fastledsource")
78 return _file_prefix_map_flags(PROJECT_ROOT / "src", fastled_prefix)
79
80
81def get_lib_compile_flags_dict(mode: str = "quick") -> dict[str, list[str]]:

Callers 1

Calls 3

_dwarf_configFunction · 0.85
_dwarf_prefixFunction · 0.85
_file_prefix_map_flagsFunction · 0.85

Tested by

no test coverage detected