I am making app in c# that can list all classes/structs with their members like from pdb using DIA SDK but I don't know how to get alignment value. I tried to search it in microsoft docs https://github.com/MicrosoftDocs/visualstudio-docs/tree/master/docs/debugger/debug-interface-access but I wasn't able to find any property that returns class/struct alignment. Can I get it somehow using DIA SDK or I need to manually calculate it using offsets of members?
Asked
Active
Viewed 61 times
0
-
I haven't used this API in ages, but don't you get the field offsets from it? – 500 - Internal Server Error Mar 24 '21 at 17:17
-
Yes but I want alignment value so I can use alignas keyword – Pavle Stojanovic Mar 24 '21 at 17:18