[llvm-branch-commits] [llvm] release/20.x: [llvm-objcopy][ReleaseNotes] Fix prints wrong path when dump-section output path doesn't exist #125345 (PR #126607)

Amr Hesham via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Feb 11 08:53:28 PST 2025


https://github.com/AmrDeveloper updated https://github.com/llvm/llvm-project/pull/126607

>From 8886b33981f73da04adadb3e02a740b8e376e042 Mon Sep 17 00:00:00 2001
From: AmrDeveloper <amr96 at programmer.net>
Date: Mon, 10 Feb 2025 23:03:15 +0100
Subject: [PATCH 1/2] release/20.x: [llvm-objcopy][ReleaseNotes] Fix prints
 wrong path when dump-section output path doesn't exist #125345

---
 llvm/docs/ReleaseNotes.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/llvm/docs/ReleaseNotes.md b/llvm/docs/ReleaseNotes.md
index 44a0b17d6a07b..c92338345f1cb 100644
--- a/llvm/docs/ReleaseNotes.md
+++ b/llvm/docs/ReleaseNotes.md
@@ -460,6 +460,8 @@ Changes to the LLVM tools
   `--localize-symbol`, `--localize-symbols`,
   `--skip-symbol`, `--skip-symbols`.
 
+* llvm-objcopy now prints the correct file path in the error message when the output file specified by --dump-section cannot be opened.
+
 Changes to LLDB
 ---------------------------------
 

>From 6f5ced04f9fb5769f367a26b306a3ca961324926 Mon Sep 17 00:00:00 2001
From: AmrDeveloper <amr96 at programmer.net>
Date: Tue, 11 Feb 2025 17:53:03 +0100
Subject: [PATCH 2/2] Add quote around option name

---
 llvm/docs/ReleaseNotes.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/docs/ReleaseNotes.md b/llvm/docs/ReleaseNotes.md
index c92338345f1cb..28908490b8f7c 100644
--- a/llvm/docs/ReleaseNotes.md
+++ b/llvm/docs/ReleaseNotes.md
@@ -460,7 +460,7 @@ Changes to the LLVM tools
   `--localize-symbol`, `--localize-symbols`,
   `--skip-symbol`, `--skip-symbols`.
 
-* llvm-objcopy now prints the correct file path in the error message when the output file specified by --dump-section cannot be opened.
+* llvm-objcopy now prints the correct file path in the error message when the output file specified by `--dump-section` cannot be opened.
 
 Changes to LLDB
 ---------------------------------



More information about the llvm-branch-commits mailing list