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

Function run_fbuild_symbols

ci/bloat.py:173–191  ·  view source on GitHub ↗
(elf: Path, nm: Path, out_dir: Path, top: int)

Source from the content-addressed store, hash-verified

171
172
173def run_fbuild_symbols(elf: Path, nm: Path, out_dir: Path, top: int) -> None:
174 out_dir.mkdir(parents=True, exist_ok=True)
175 cmd = [
176 "fbuild",
177 "symbols",
178 str(elf),
179 "--nm",
180 str(nm),
181 "--output-dir",
182 str(out_dir),
183 "--top",
184 str(top),
185 ]
186 print(f"$ {' '.join(cmd)}")
187 try:
188 subprocess.run(cmd, check=True)
189 except KeyboardInterrupt as ki:
190 handle_keyboard_interrupt(ki)
191 raise
192
193
194@dataclass

Callers 1

mainFunction · 0.85

Calls 3

printFunction · 0.50
runMethod · 0.45

Tested by

no test coverage detected