Open
Description
Does the feature exist in the most recent commit?
No
Why do we need this feature?
Configuring OsStackTraceGetterInterface
via #define GTEST_OS_STACK_TRACE_GETTER_
can only be done when compiling gtest from source, making it impossible to change when using precompiled binaries, e.g. from a package manager such as xrepo, conan or vcpkg.
Even when compiling from source, it is needlessly fiddly to set up, requiring adding extra files to compilation and changing defines - not a lot of changes, but can be tricky to get right.
Describe the proposal.
Move OsStackTraceGetterInterface
from src/gtest-internal-inl.h
to a public header and expose testing::internal::UnitTestImpl::set_os_stack_trace_getter
as public API.
Is the feature specific to an operating system, compiler, or build system version?
No