boostorg / stacktrace

C++ library for storing and printing backtraces.
https://boost.org/libs/stacktrace
422 stars 69 forks source link

Avoiding -ldl linking when using -DBOOST_STACKTRACE_USE_ADDR2LINE #160

Closed sanketRmeshram closed 1 month ago

sanketRmeshram commented 5 months ago

While using addr2line binary to get the symbolic function information from address. We Fork and execute command in the child process. But currently, it requires unnecessarily linking Dynamic Loader (-ldl).

Changed the code to avoid that linking.