[objcopy] Return an error in case of an invalid regex (#74319)
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>
parent
a4d4b45a
Please register or sign in to comment