mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-03 16:46:07 +00:00

As of now, llvm-objcopy silently ignores a provided regex if it doesn't compile. This patch adds returning an error saying that a regex couldn't be compiled, along with the compilation error message. --------- Co-authored-by: James Henderson <46713263+jh7370@users.noreply.github.com>