[llvm] [llvm-objcopy] fix llvm-objcopy replaced failed when the file is modified inplace (PR #121564)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 15 06:23:40 PST 2025
jh7370 wrote:
> Emm, the objcopy works fine when writing small code with lit test. The problem is discovered inside our company's inner codebase and the binary is about 5kb. I don't know if the size matter because it is a samba mount in Linux (Client) to Windows (Server).
At 5kb, I'd be very surprised if the size is the problem. That's well within the normal size of binaries.
Could you give the command-line of what you are doing, please? What file is being deleted and why? I'm not convinced llvm-objcopy is doing anything wrong here, so I'll need to see more explanation from you as to why the issue is in llvm-objcopy and not in something you're system is doing that isn't really appropriate.
https://github.com/llvm/llvm-project/pull/121564
More information about the llvm-commits
mailing list