Factor out HLL symbol lookup, add to public API.