diff options
author | Ilya Biryukov <ibiryukov@google.com> | 2018-09-04 14:15:53 +0000 |
---|---|---|
committer | Ilya Biryukov <ibiryukov@google.com> | 2018-09-04 14:15:53 +0000 |
commit | d5554c512de686a1c158370fe264648f079b89a2 (patch) | |
tree | 87464b83dd50f29ec59775d67cc4b37775397138 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 6cb12444ccc40a052431f99b1b2834b2f96cad61 (diff) | |
download | llvm-d5554c512de686a1c158370fe264648f079b89a2.zip llvm-d5554c512de686a1c158370fe264648f079b89a2.tar.gz llvm-d5554c512de686a1c158370fe264648f079b89a2.tar.bz2 |
Adding HardLink Support to VirtualFileSystem.
Summary:
Added support of creating a hardlink from one file to another file.
After a hardlink is added between two files, both file will have the same:
1. UniqueID (inode)
2. Size
3. Buffer
This will bring replay of compilation closer to the actual compilation. There are instances where clang checks for the UniqueID of the file/header to be loaded which leads to a different behavior during replay as all files have different UniqueIDs.
Patch by Utkarsh Saxena!
Reviewers: ilya-biryukov
Reviewed By: ilya-biryukov
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D51359
llvm-svn: 341366
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions