[profile] Third speculative fix for Windows after D68351
authorVedant Kumar <vsk@apple.com>
Thu, 31 Oct 2019 23:35:57 +0000 (16:35 -0700)
committerVedant Kumar <vsk@apple.com>
Thu, 31 Oct 2019 23:35:58 +0000 (16:35 -0700)
commita49795d8abcf8bf5d38b6ba4e665559c30eb3e62
treee1b195c0b5e286c2a0adef6c93f8fd0d70179ecd
parent6dfe8e590e1e50e26c80af59971bc206d8c567f6
[profile] Third speculative fix for Windows after D68351

_putenv on Windows takes 1 argument, whereas setenv elsewhere takes 3.
Just treat the two platforms differently.

http://lab.llvm.org:8011/builders/sanitizer-windows/builds/53547
compiler-rt/lib/profile/InstrProfilingFile.c
compiler-rt/lib/profile/InstrProfilingPort.h