summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86ISelLowering.cpp
diff options
context:
space:
mode:
authorBob Haarman <llvm@inglorion.net>2016-11-29 15:24:00 +0000
committerBob Haarman <llvm@inglorion.net>2016-11-29 15:24:00 +0000
commit9ee65aca3daf67f9b32e58fafcde866b317f3a57 (patch)
treef92eac5099b571e4f75830815bede344a6b28158 /llvm/lib/Target/X86/X86ISelLowering.cpp
parentb2a346d5e40e9cbd344c6389a27709205a560159 (diff)
downloadbcm5719-llvm-9ee65aca3daf67f9b32e58fafcde866b317f3a57.tar.gz
bcm5719-llvm-9ee65aca3daf67f9b32e58fafcde866b317f3a57.zip
[profile] use GetComputerNameExW instead of gethostname on Windows
Summary: In profile data paths, we replace "%h" with the hostname of the machine the program is running on. On Windows, we used gethostname() to obtain the hostname. This requires linking with ws2_32. With this change, we instead get the hostname from GetComputerNameExW(), which does not require ws2_32. Reviewers: rnk, vsk, amccarth Subscribers: zturner, ruiu, hans Differential Revision: https://reviews.llvm.org/D27178 llvm-svn: 288146
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud