You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the output directory doesn't exist, llvm-objcopy prints the input argument in the error string.
Tested with llvm-objcopy-19.
Example to reproduce:
# We get permission denied if we try to use /usr/bin/ls directly
$ cp /usr/bin/ls ./ls
# ./invalid-dir does not exist, we get an incorrect error message
$ llvm-objcopy-19 --dump-section .text=./invalid-dir/text ./ls
llvm-objcopy-19: error: './ls': No such file or directory
# If we create the directory, it will succeed
$ mkdir invalid-dir
$ llvm-objcopy-19 --dump-section .text=./invalid-dir/text ./ls #succeeds
The text was updated successfully, but these errors were encountered:
When the output directory doesn't exist, llvm-objcopy prints the input argument in the error string.
Tested with llvm-objcopy-19.
Example to reproduce:
# We get permission denied if we try to use /usr/bin/ls directly
$ cp /usr/bin/ls ./ls
# ./invalid-dir does not exist, we get an incorrect error message
$ llvm-objcopy-19 --dump-section .text=./invalid-dir/text ./ls
llvm-objcopy-19: error: './ls': No such file or directory
# If we create the directory, it will succeed
$ mkdir invalid-dir
$ llvm-objcopy-19 --dump-section .text=./invalid-dir/text ./ls #succeeds
When the output directory doesn't exist, llvm-objcopy prints the input argument in the error string.
Tested with llvm-objcopy-19.
Example to reproduce:
The text was updated successfully, but these errors were encountered: