[PATCH] D152585: [dsymutil] Skip duplicates files with identical time stamps in the debug map
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 9 17:11:32 PDT 2023
aprantl added inline comments.
================
Comment at: llvm/tools/dsymutil/MachODebugMapParser.cpp:48
+ struct OSO {
+ llvm::StringRef Name;
+ uint64_t Timestamp;
----------------
A hack I used in other places was to use a struct that inherits from `std::pair<StringRef, uint64_t>` and write accessors, then you don't need to define all the hashing and comparison functions.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152585/new/
https://reviews.llvm.org/D152585
More information about the llvm-commits
mailing list