Viladoman / StructLayout

Visual Studio Extension for C++ struct memory layout visualization
MIT License
477 stars 22 forks source link

MS-style inline assembly is not available. Unable to find target for this triple (no targets are registered). #21

Closed pavledev closed 3 years ago

pavledev commented 3 years ago

When I right click on class name and press Show Struct Layout I get this error: MS-style inline assembly is not available. Unable to find target for this triple (no targets are registered). https://imgur.com/Of08Imx Can you please fix this?

Viladoman commented 3 years ago

Hey! Thanks for letting me know! I will have a look once I have some free time. I will keep you updated.

Viladoman commented 3 years ago

Hi! Happy new year! I added the native platform initialization to the clang parser in order to avoid having those target errors.

Could you please try this version: StructLayout.zip

Let me know if the issue is still present. Sadly this change doubles the size of the dll.

Thanks.

pavledev commented 3 years ago

@Viladoman Hi and Happy New Year. I tested it now and it's working. I don't get error for inline assembly anymore. Thank you very much.