diff options
author | Aaron Smith <aaron.smith@microsoft.com> | 2019-04-17 03:13:06 +0000 |
---|---|---|
committer | Aaron Smith <aaron.smith@microsoft.com> | 2019-04-17 03:13:06 +0000 |
commit | b8ec7eee8118d8d5f64370e4619a746ceaf7d6c1 (patch) | |
tree | 139fda05cee1ee3b490c82ac42271d3ad5530c8b /llvm/test/Transforms/LoopVectorize/i8-induction.ll | |
parent | 990514cec829d3027bc3472427bc3457d742d2e9 (diff) | |
download | bcm5719-llvm-b8ec7eee8118d8d5f64370e4619a746ceaf7d6c1.tar.gz bcm5719-llvm-b8ec7eee8118d8d5f64370e4619a746ceaf7d6c1.zip |
Clear the output string passed to GetHostName()
LLVM's wchar to UTF8 conversion routine expects an empty string to store the output.
GetHostName() on Windows is sometimes called with a non-empty string which triggers
an assert. The simple fix is to clear the output string before the conversion.
llvm-svn: 358550
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/i8-induction.ll')
0 files changed, 0 insertions, 0 deletions