MaskRay wrote: The regression is likely due to `pat.sectionPat.match, cmd->matchesFile, pat.excludesFile, and flagsMatch`. please update the pr description to mention them and https://github.com/llvm/llvm-project/pull/90007 https://github.com/llvm/llvm-project/pull/194668