github.com/searKing/golang/go@v1.2.117/runtime/cgosymbolizer/cgo_boost_windbg_cached.go (about)

     1  // Copyright 2021 The searKing Author. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build BOOST_STACKTRACE_USE_WINDBG_CACHED
     6  // +build BOOST_STACKTRACE_USE_WINDBG_CACHED
     7  
     8  package cgosymbolizer
     9  
    10  /*
    11  #cgo windows CXXFLAGS: -DBOOST_STACKTRACE_USE_WINDBG_CACHED
    12  #cgo windows LDFLAGS: -lole32 -ldbgeng
    13  #cgo !windows CXXFLAGS:
    14  */
    15  import "C"
    16  
    17  // https://www.boost.org/doc/libs/develop/doc/html/stacktrace/configuration_and_build.html