]> granicus.if.org Git - llvm/commit
[llvm-objcopy] Make .build-id linking atomic
authorJake Ehrlich <jakehehrlich@google.com>
Mon, 18 Mar 2019 20:35:18 +0000 (20:35 +0000)
committerJake Ehrlich <jakehehrlich@google.com>
Mon, 18 Mar 2019 20:35:18 +0000 (20:35 +0000)
commitbb22cd1f19d11f85d7136011eaac0f1959e5a59e
treeaa7858338791b3fcd947a4769c14213bf3563fdc
parent6f1ca03bfff53667d358bc1816b518a176a9e193
[llvm-objcopy] Make .build-id linking atomic

This change makes linking into .build-id atomic and safe to use.
Some users under particular workflows are reporting that this races
more than half the time under particular conditions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356404 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/FileSystem.h
lib/Support/Path.cpp
tools/llvm-objcopy/ELF/ELFObjcopy.cpp