HomePhabricator

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

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

Details

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