美文网首页
No member named '__rip' in '__da

No member named '__rip' in '__da

作者: 众闻 | 来源:发表于2019-05-21 20:47 被阅读0次

    打开node_modules/react-native/third-party/glog-0.3.4/src/config.h文件

    或者直接在工程中搜PC_FROM_UCONTEXT定义的地方。

    /* How to access the PC from a struct ucontext */ #

    define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip

    替换

    /* How to access the PC from a struct ucontext */

    #if defined(__arm__) || defined(__arm64__)

    #define PC_FROM_UCONTEXT uc_mcontext->__ss.__pc

    #else

    #define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip

    #endif

    相关文章

      网友评论

          本文标题:No member named '__rip' in '__da

          本文链接:https://www.haomeiwen.com/subject/hyuszqtx.html