HomePhabricator

Fix unit tests on Windows: handle env vars with non-ASCII chars.

Authored by chfast on Nov 4 2015, 12:25 AM.

Description

Fix unit tests on Windows: handle env vars with non-ASCII chars.

Summary: On Windows we have to take UTF16 encoded env vars and convert them to UTF8. This patch fixes CopyEnvironment helper function used by process unit tests.

Reviewers: yaron.keren

Subscribers: yaron.keren, llvm-commits

Differential Revision: http://reviews.llvm.org/D14278

llvm-svn: 252039

Details

Committed
chfastNov 4 2015, 12:25 AM
Differential Revision
D14278: Fix unit tests on Windows: handle env vars with non-ASCII chars.
Parents
rGbf9d76d62e85: [OperandBundles] Refactor; NFCI.
Branches
Unknown
Tags
Unknown