[PATCH] D59033: [llvm-objcopy] Make .build-id linking atomic

Jake Ehrlich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 11:12:29 PST 2019


jakehehrlich created this revision.
jakehehrlich added reviewers: jhenderson, rupprecht, alexshap, grimar.
Herald added subscribers: llvm-commits, kristina, jfb, MaskRay, hiraditya, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D59033

Files:
  llvm/include/llvm/Support/FileSystem.h
  llvm/lib/Support/Path.cpp
  llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59033.189540.patch
Type: text/x-patch
Size: 7134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190306/86fdb28c/attachment-0001.bin>


More information about the llvm-commits mailing list