felixkellenbenz wrote: Hey thanks for the review,
I will add a test case in a moment. That's true, my change only impacts `--strip-all`. I tested `llvm-strip` with the `--strip-debug` flag and this didn't remove the `.gnu_debuglink` section. This is also seen when using `GNU strip`. Here are the commands I used when testing the `--strip-debug` flag: ``` gcc -g -xc /dev/null -ffreestanding -shared -o a.out llvm-objcopy --only-keep-debug a.out a.out.dbg llvm-objcopy --add-gnu-debuglink=a.out.dbg a.out llvm-strip --strip-debug -o a.out.stripped a.out readelf -wk a.out ``` https://github.com/llvm/llvm-project/pull/78919 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits