Assumtion: the memory buffer is only needed to create the module. It do
not have to be kept alive after the function has finished. This is in
contrast with the lazy API which would need to keep both alive.
The ModuleID is derived from buffer.
Diagnostic messages that are created by this operation become part of
the result.
Make a Module from the specified MemoryBuffer.
Assumtion: the memory buffer is only needed to create the module. It do not have to be kept alive after the function has finished. This is in contrast with the lazy API which would need to keep both alive.
The ModuleID is derived from buffer.
Diagnostic messages that are created by this operation become part of the result.