[all-commits] [llvm/llvm-project] bdcb84: [objcopy] Return an error in case of an invalid re...
Ilia Kuklin via All-commits
all-commits at lists.llvm.org
Thu Dec 7 12:17:05 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bdcb841aa729eabc03896c74c6ddfbf836356d77
https://github.com/llvm/llvm-project/commit/bdcb841aa729eabc03896c74c6ddfbf836356d77
Author: Ilia Kuklin <kuklin.iy at mail.ru>
Date: 2023-12-08 (Fri, 08 Dec 2023)
Changed paths:
M llvm/lib/ObjCopy/CommonConfig.cpp
A llvm/test/tools/llvm-objcopy/regex-error.test
Log Message:
-----------
[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 at users.noreply.github.com>
More information about the All-commits
mailing list