[llvm] [dsymutil] Add option to filter debug map objects by allowlist (PR #182083)

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 19 14:49:49 PST 2026


JDevlieghere wrote:

Thanks for the context Greg. Unless I missed something, nothing you said conflicts with my earlier suggestion. To recap, here's what I'm concretely asking for:

1. We have an `-allow` and `-disallow` argument so we can opt in and opt out of N_OSO entries.
2. The file passed to those arguments is a YAML file that looks like the debug map. For now it would only support listing N_OSO entries, but in the future could possibly include everything else the debug map suggests.
3. That the paths in that YAML file can be used with `--oso-prepend-path`. If you're not passing that then that becomes a NOOP for you. If you are, it should also be trivial to drop the suffix.

https://github.com/llvm/llvm-project/pull/182083


More information about the llvm-commits mailing list