charles-zablit wrote:

> > needs to grow through the CRT mapping.
> 
> Needs to go?

Fixed the typo, thanks!

> Is there any cite-able documentation for this restriction? (will look myself 
> in a bit)

[`_open_osfhandle`](https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/open-osfhandle?view=msvc-170)
 is the method used to convert a HANDLE to a CRT file descriptor.

[`_get_osfhandle`](https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/get-osfhandle?view=msvc-170)
 is to do the opposite, going from a file descriptor to a HANDLE.

We use these 2 functions throughout lldb.


https://github.com/llvm/llvm-project/pull/178238
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to