SuccessChanges

Summary

  1. [llvm-elfabi] Add flag to preserve timestamp when output is the same (details)
Commit a1d0589266865998785c996668d828445f10fc98 by haowei
[llvm-elfabi] Add flag to preserve timestamp when output is the same

This change adds '--write-if-changed' flag to llvm-elfabi tool. When
enabled, llvm-elfabi will not overwrite the existing file if the
content of the file will not be changed, which preserves the
timestamp.

Differential Revision: https://reviews.llvm.org/D92902
The file was modifiedllvm/lib/InterfaceStub/ELFObjHandler.cpp
The file was modifiedllvm/tools/llvm-elfabi/llvm-elfabi.cpp
The file was addedllvm/test/tools/llvm-elfabi/preserve-dates-tbe.test
The file was modifiedllvm/include/llvm/InterfaceStub/ELFObjHandler.h
The file was addedllvm/test/tools/llvm-elfabi/preserve-dates-stub.test