Debug LLVM using Eclipse

I am working on LLVM. Debugging it with Eclipse, I came across certain data structures whose contents I want to see. But during debugging, Eclipse gives me the address of this particular data structure, not its contents.

eg. When viewing the contents of SmallVectorImpl & Ops it gives something like this

Name : Ops Details:@0xbfffef94 Default:{...} Decimal:{...} Hex:{...} Binary:{...} Octal:{...} 

Please tell me which plugin is available for viewing the contents of these data structures.

+6
source share
1 answer

This is similar to the question presented here (also, just saw that it is a massive thread, sorry):

How to enable gdb to print C ++ STL objects in Eclipse CDT?

Of course, you will need to change the associated pretty printed script, but this is the beginning.

0
source

Source: https://habr.com/ru/post/906645/


All Articles