[all-commits] [llvm/llvm-project] e16713: Remove extraneous characters when printing the tim...
diggerlin via All-commits
all-commits at lists.llvm.org
Fri Mar 3 10:19:45 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e16713d8772bf77d1a41c65cb69ee93e6bd47798
https://github.com/llvm/llvm-project/commit/e16713d8772bf77d1a41c65cb69ee93e6bd47798
Author: zhijian <zhijian at ca.ibm.com>
Date: 2023-03-03 (Fri, 03 Mar 2023)
Changed paths:
M llvm/test/tools/llvm-readobj/XCOFF/file-header.test
M llvm/tools/llvm-readobj/XCOFFDumper.cpp
Log Message:
-----------
Remove extraneous characters when printing the timestamp for an XCOFF object file.
Summary:
The llvm-readobj prints extra characters for the timestamp when --file-headers is used with an XCOFF file. This change updates the format string used to print the time. In addition, the timestamp is printed in the local timezone, and a thread-safe call is used to convert the time.
Summit the patch on behalf of Stephen Peckham.
Reviewers: James Henderson, Digger Lin
Differential Revision: https://reviews.llvm.org/D144281
More information about the All-commits
mailing list