Don't know where else to ask so I'll just ask the experts here ;)
I'm compiling my Source mod (2013 github fork) for Linux, and I'd like to keep some of the debug symbols in the server binary like Valve does, so finding vtable offsets, etc. is easier. Currently the binary has no function names at all.
Sharing a 100MB symbol file just to get offsets/sigs isn't quite what I want. I'm assuming I'll have to objcopy some of the symbols over to the binary file?
Any help is appreciated.
EDIT: Setting symbol visibility to default (SymbolVisibility=default in game/server/server_linux32_*.mak) and making sure stripping uses -x flag (devtools/makefile_base_posix.mak) seems to work.