fn get_object_file_path(
    sess: &Session,
    name: &str,
    self_contained: bool
) -> PathBuf