get_undefined_symbols_from_llvm_ir_file

selene_core.build_utils.utils.get_undefined_symbols_from_llvm_ir_file(ir: Path) list[str]

Extract undefined symbols from an LLVM IR file.

This is a naive implementation that reads the file line by line and looks for lines that start with “declare”. It may be fragile.