Valgrind massif shows ??? for simple c++ program compiled with -g
I have ran the C example provided in massif docs https://valgrind.org/docs/manual/ms-manual.html and it works as expected. However it shows??? for this simple c++ program. main.cc #include <string> int main() { std::string s{"hi i am a long string do not optimize me"}; } command line g++ -g -std=c++17 -o main main.cc valgrind --tool=massif ./main relevant massif output #----------- snapshot=3 #----------- time=2348873 mem_heap_B=72745 mem_heap_extra_B=23 mem_stacks_B=0 heap_tree=peak n2: 72745 (heap allocation functions) malloc/new/new[], --alloc-fns, etc. n1: 72704 0x4909A69: ??? (in /usr/lib
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.