From 71c6535b075edfd97b9e3034b50799dce4fa0091 Mon Sep 17 00:00:00 2001 From: "Salinas, David" Date: Wed, 9 Jul 2025 07:31:33 -0400 Subject: [PATCH] SWDEV-536367 - Make DEPRECATED message in roc-obj tools STDERR (#469) --- hipamd/bin/roc-obj-extract | 2 +- hipamd/bin/roc-obj-ls | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hipamd/bin/roc-obj-extract b/hipamd/bin/roc-obj-extract index 77ca7790a3..2da65245ed 100755 --- a/hipamd/bin/roc-obj-extract +++ b/hipamd/bin/roc-obj-extract @@ -74,7 +74,7 @@ my %options=(); getopts('vho:', \%options); # this tool has been deprecated -print("Warning: This tool has been DEPRECATED. Similar functionality is provided by llvm-objdump in the rocm-llvm package.\n"); +print(STDERR "Warning: This tool has been DEPRECATED. Similar functionality is provided by llvm-objdump in the rocm-llvm package.\n"); if (defined $options{h}) { usage(); diff --git a/hipamd/bin/roc-obj-ls b/hipamd/bin/roc-obj-ls index eba81d363a..0517d50942 100755 --- a/hipamd/bin/roc-obj-ls +++ b/hipamd/bin/roc-obj-ls @@ -60,7 +60,7 @@ if (defined $options{h}) { } # this tool has been deprecated -print("Warning: This tool has been DEPRECATED. Similar functionality is provided by llvm-objdump in the rocm-llvm package.\n"); +print(STDERR "Warning: This tool has been DEPRECATED. Similar functionality is provided by llvm-objdump in the rocm-llvm package.\n"); my $verbose = $options{v}; my $debug = $options{d};