swift
50c6c2ea - [Runtime][Win32] Tweak `SymbolInfo` slightly based on review comments.

Commit
1 year ago
[Runtime][Win32] Tweak `SymbolInfo` slightly based on review comments. 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
Author
Committer
Parents
Loading