compile:
c++ -g tmp.cc -o starrocks_be
split debug info
objcopy --only-keep-debug starrocks_be starrocks_be.debug
strip --strip-debug starrocks_be
link debug info with striped binary
objcopy --add-gnu-debuglink=starrocks_be.debug starrocks_be
optional
gdb -s starrocks_be.debug -e starrocks_be -c `core_file`
标签:info,starrocks,--,how,strip,debug,objcopy
From: https://www.cnblogs.com/stdpain/p/17434937.html