Skip to content

Is there any potential alternative to an llvm-symbolizer runtime dependency? #2978

Answered by kentonv
isker asked this question in Q&A
Discussion options

You must be logged in to vote

You don't need to symbolize in production. If llvm-symbolizer is not available, then the stack trace will be dumped as a list of instruction addresses (relative to the binary base). If you log those addresses, you can feed them into the symbolizer offline, as long as you have the same binary available. In fact, the version of the binary in production can be stripped of debug symbols, which makes it a lot smaller. You only need the full version of the binary when you're doing the offline symbolization.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@isker
Comment options

Answer selected by isker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants