diff options
| author | Zachary Turner <zturner@google.com> | 2017-07-10 21:09:11 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2017-07-10 21:09:11 +0000 |
| commit | 77f23b9c218cd87d4eb5d6c40d876d640b389ae7 (patch) | |
| tree | 2c9dcaf9920967d5a5d829578bd2d16be52942bb /libcxx/src/locale.cpp | |
| parent | 07f6efddc037558f014b13ab0b6ff6669c8d5f4d (diff) | |
| download | bcm5719-llvm-77f23b9c218cd87d4eb5d6c40d876d640b389ae7.tar.gz bcm5719-llvm-77f23b9c218cd87d4eb5d6c40d876d640b389ae7.zip | |
Fix pdb-linker-module test on linux.
lld-link is apparently a symlink to lld. Our pdb writing code
uses llvm::sys::fs::getMainExecutable() and writes that value
into the PDB, which will resolve symlinks etc. But what we
really want is the exact value of argv[0], which matches what
the MS linker does. Fix this by just writing argv[0] instead
of calling getMainExecutable.
llvm-svn: 307592
Diffstat (limited to 'libcxx/src/locale.cpp')
0 files changed, 0 insertions, 0 deletions

