You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since there is a considerable portion of the raw API bindings that aren't implemented in the managed bindings, some raw calls are required in special cases. Many of the unimplemented raw calls accept string parameters (e.g. LLVM.AddModuleFlag), but since MarshaledString is internal, the application needs to reinvent this wheel within its own assembly.
The text was updated successfully, but these errors were encountered:
I think it would be better to just ensure the relevant overloads are exposed. I'm not completely against exposing MarshaledString, but just exposing things like AddModuleFlag on LLVMModuleRef seems like the overall better approach to this.
Since there is a considerable portion of the raw API bindings that aren't implemented in the managed bindings, some raw calls are required in special cases. Many of the unimplemented raw calls accept string parameters (e.g.
LLVM.AddModuleFlag
), but sinceMarshaledString
is internal, the application needs to reinvent this wheel within its own assembly.The text was updated successfully, but these errors were encountered: