Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dump debug symbols into separate files from binaries #2535

Merged
merged 2 commits into from
Dec 6, 2019

Conversation

9prady9
Copy link
Member

@9prady9 9prady9 commented Jun 13, 2019

Dump debug symbols into separate files from binaries

* Linux systems will created separate `lib<target>`.debug
  files with debug symbols of respective backend binaries.
* Windows by default splits debug symbols into pdb files.
* OSX debug symbol files are not generated - DISABLED for now

OSX support will be added later.

Component based installers will have *_debug_symbols component(s)
disabled(not-installed) by default. The user has to explicitly select
them during installation. The idea is to skip installation on these
components on deployment systems and have them installed on development
systems.

@9prady9 9prady9 force-pushed the split_debug_info branch 2 times, most recently from 8d7db6c to 69ee863 Compare June 26, 2019 14:52
@9prady9 9prady9 changed the title WIP: Dump debug symbols into separate files from binaries Dump debug symbols into separate files from binaries Jun 26, 2019
@9prady9 9prady9 requested a review from umar456 June 26, 2019 14:57
umar456
umar456 previously requested changes Jul 2, 2019
src/backend/cpu/CMakeLists.txt Outdated Show resolved Hide resolved
CMakeModules/SplitDebugInfo.cmake Show resolved Hide resolved
CMakeModules/SplitDebugInfo.cmake Show resolved Hide resolved
CMakeModules/SplitDebugInfo.cmake Show resolved Hide resolved
@umar456
Copy link
Member

umar456 commented Jul 2, 2019

I will test this on OSX sometime later.

@9prady9 9prady9 force-pushed the split_debug_info branch 2 times, most recently from f041a46 to 70aa163 Compare July 11, 2019 03:15
@9prady9 9prady9 force-pushed the split_debug_info branch 2 times, most recently from adf68bc to 9c7173b Compare August 20, 2019 05:59
@9prady9
Copy link
Member Author

9prady9 commented Aug 20, 2019

I have updated few things and removed unnecessary stuff. Will push soon.

* Linux systems will created separate `lib<target>`.debug
  files with debug symbols of respective backend binaries.
* Windows by default splits debug symbols into pdb files.
* OSX debug symbol files are not generated - DISABLED for now

OSX support will added later.

Component based installers will have *_debug_symbols component(s)
disabled(not-installed) by default. The user has to explicitly select
them during installation. The idea is to skip installation on these
components on deployment systems and have them installed on development
systems.
@9prady9 9prady9 merged commit ccf8a3e into arrayfire:master Dec 6, 2019
@9prady9 9prady9 deleted the split_debug_info branch December 6, 2019 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants