Using the toolchain from ndk 23. I have an exectuable A. I’m using llvm-objcopy to keep debug symbols in a separate file
llvm-objcopy --only-keep-debug A A.debug
and then I do llvm-strip --strip-debug --strip-unneeded A
Now, how do I something like eu-unstrip A A.debug -o fullA
using llvm tools? At the moment I get
eu-unstrip: cannot write output file: invalid section alignment
This is copy of How to use equivalent eu-unstrip with llvm-objcopy + llvm-strip · Issue #59370 · llvm/llvm-project · GitHub. Somehow issue reporter was not able to create topic himself.