We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetPC()
nullptr
As PC_FROM_UCONTEXT is never defined, GetPC() always returns nullptr:
PC_FROM_UCONTEXT
glog/src/signalhandler.cc
Lines 76 to 86 in 6482757
Possible fix:
glog/CMakeLists.txt
Lines 215 to 233 in 6482757
uc_mcontext.
uc_mcontext->
try_compile ()
Lines 251 to 252 in 6482757
-D_GNU_SOURCE=1
set (PC_FROM_UCONTEXT ${_PC_FIELD} CACHE STRING "")
#cmakedefine PC_FROM_UCONTEXT ${PC_FROM_UCONTEXT}
The text was updated successfully, but these errors were encountered:
Good catch, thanks! Could you please submit a PR with the corresponding changes?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
As
PC_FROM_UCONTEXT
is never defined,GetPC()
always returnsnullptr
:glog/src/signalhandler.cc
Lines 76 to 86 in 6482757
Possible fix:
glog/CMakeLists.txt
Lines 215 to 233 in 6482757
uc_mcontext.
/uc_mcontext->
(https://github.com/couchbase/gperftools/blob/846b775dfadb77901202ae7ddbac30ad1de7df01/m4/pc_from_ucontext.m4#L23-L43 seems to provide an up-to-date list of fields)try_compile ()
invocation.glog/CMakeLists.txt
Lines 251 to 252 in 6482757
-D_GNU_SOURCE=1
set (PC_FROM_UCONTEXT ${_PC_FIELD} CACHE STRING "")
)#cmakedefine PC_FROM_UCONTEXT ${PC_FROM_UCONTEXT}
)The text was updated successfully, but these errors were encountered: