You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "jpeach (via GitHub)" <gi...@apache.org> on 2023/06/15 22:37:55 UTC

[GitHub] [trafficserver] jpeach commented on pull request #9841: Search for and enable backtrace in CMake build

jpeach commented on PR #9841:
URL: https://github.com/apache/trafficserver/pull/9841#issuecomment-1593808862

   @cmcfarlen Is this change correct? Looking at the automake, it's checking to see whether `execinfo.h` is present to set the `has_backtrace` symbol. On FreeBSD, it also checks for `libexecinfo`.
   
   I googled the make docs, and I think that this should be using [FindBacktrace](https://cmake.org/cmake/help/latest/module/FindBacktrace.html)
   ```
   FindBacktrace()
   if (Backtrace_FOUND)
     FindBacktrace
     -- do something with the output variables here
   endif()
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org