llvm-6502/unittests/Support
Rui Ueyama f42d4247ae Add getenv() wrapper that works on multibyte environment variable.
On Windows, character encoding of multibyte environment variable varies
depending on settings. The only reliable way to handle it I think is to use
GetEnvironmentVariableW().

GetEnvironmentVariableW() works on wchar_t string, which is on Windows UTF16
string. That's not ideal because we use UTF-8 as the internal encoding in LLVM.
This patch defines a wrapper function which takes and returns UTF-8 string for
GetEnvironmentVariableW().

The wrapper function does not do any conversion and just forwards the argument
to getenv() on Unix.

Differential Revision: http://llvm-reviews.chandlerc.com/D1612

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190423 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-10 19:45:51 +00:00
..
AlignOfTest.cpp
AllocatorTest.cpp Sort the #include lines for unittest/... 2012-12-04 10:23:08 +00:00
ArrayRecyclerTest.cpp
BlockFrequencyTest.cpp
Casting.cpp
CMakeLists.txt Update CMake file to fix buildbots. 2013-09-09 19:25:11 +00:00
CommandLineTest.cpp
CompressionTest.cpp
ConstantRangeTest.cpp
ConvertUTFTest.cpp
DataExtractorTest.cpp
EndianTest.cpp
ErrorOrTest.cpp
FileOutputBufferTest.cpp
formatted_raw_ostream_test.cpp
LeakDetectorTest.cpp
LockFileManagerTest.cpp
Makefile
ManagedStatic.cpp
MathExtrasTest.cpp
MD5Test.cpp
MemoryBufferTest.cpp MemoryBufer: add a test: check that a file with size that is a multiple of the 2013-09-04 18:02:13 +00:00
MemoryTest.cpp
Path.cpp
ProcessTest.cpp Add getenv() wrapper that works on multibyte environment variable. 2013-09-10 19:45:51 +00:00
ProgramTest.cpp
raw_ostream_test.cpp
RegexTest.cpp
SwapByteOrderTest.cpp
TimeValueTest.cpp unittests/Support: Add TimeValue.Win32FILETIME, corresponding to r186374. 2013-07-16 02:44:23 +00:00
UnicodeTest.cpp
ValueHandleTest.cpp
YAMLIOTest.cpp
YAMLParserTest.cpp