Can clang create executables with debug information "dsym"?

According to technical note 2123 , in xcode you can create executable files with debug information "dsym", which puts debug information in a separate file (instead of pasting it into an executable file). We create our applications from the command line, rather than directly using xcode - is there a way to tell clang to do this on the command line?

+4
source share
1 answer

Xcode uses dsymutil to create a dsym file from the source executable:

 /Developer/usr/bin/dsymutil executable -o executable.dSYM 

Actually, this is not a file, but a package (directory) displayed by Finder as a β€œfile package”.

See man dsymutil .

+6
source

Source: https://habr.com/ru/post/1380295/


All Articles