mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Prefer `ZeroMemory()` to `::memset()` here. Use `sizeof(*wszBuffer)` instead of `sizeof(WCHAR)`, just in case. Don't use `*this=other`, because that motivates tests around `::free()`, but instead pull the shared code out into some private functions. Also, fix `SymbolInfo()` to initialize the pointer members. rdar://130992923
3.9 KiB
3.9 KiB