Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试检测我的 AIX xlC 编译对象是否存在内存泄漏。使用 Visual Studio 时,如果我包含 CRTDBG_MAP_ALLOC,它会给我一些有关内存泄漏的打印输出信息。xlC 在调试时有类似使用的东西吗?
如果您使用基于 malloc() 的堆分配,您可以尝试使用MALLOCDEBUG。
Parasoft 的 Insure++ 等第三方工具会提供更深入的分析,但它不是免费的。
让我知道结果如何!