labath wrote: The error logged above the code you're adding is visible through `image dump separate-debug-info` (and it doesn't require logging to be enabled beforehand). Would that be sufficient? https://github.com/llvm/llvm-project/pull/116436