Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

dev: use objcopy to generate split debug symbol #251

Merged
merged 12 commits into from
Feb 17, 2024
Merged

Conversation

@Enter-tainer
Copy link
Owner Author

A quick memo about how dbginfo works in different platform:

  • Windows: dbginfo is splitted by default. Just use the pdf file next to the binary
  • Linux: dbginfo is stored in the binary. use llvm-objcopy to extract debuginfo from binary and strip them from binary
  • Macos: dbginfos are scattered in target/release/deps. Use dsymutil to merge them.

cc @Myriad-Dreamin FYI

@Enter-tainer Enter-tainer merged commit e945a1e into main Feb 17, 2024
12 checks passed
@Enter-tainer Enter-tainer deleted the mgt/sb-dwp branch February 17, 2024 02:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant