This was temporarily broken as we were skipping full emission of all entities without any valid location. We now rely on `decl->getDeclContext()->getParentSourceFile()` which is more robust.