gdb核心转储中`empty'的含义
当我使用GDB分析一些核心转储时,我看到了类似的东西:
#6 0x000055e01cf96326 in ClassOne::my_function (my_var=std::unique_ptr<ClassTwo> = {...}) at /usr/include/c++/10/bits/unique_ptr.h:173
my_object = std::shared_ptr<MyClass> (empty) = {get() = <optimized out>}
written = <optimized out>
任何人都可以帮助解释(空)
的含义在这里吗?
这个单词空
太难搜索了,我不知道读取核心转储时的含义。谢谢。
When I use gdb to analyze some core dumps, I saw something like this:
#6 0x000055e01cf96326 in ClassOne::my_function (my_var=std::unique_ptr<ClassTwo> = {...}) at /usr/include/c++/10/bits/unique_ptr.h:173
my_object = std::shared_ptr<MyClass> (empty) = {get() = <optimized out>}
written = <optimized out>
Could anyone help to explain what the meaning of (empty)
is here?
This word empty
is too difficult to search and I have no idea what it means when I read the core dump. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论