Skip to content

Commit fdcfdc0

Browse files
committed
review comments fix
1 parent 181ee67 commit fdcfdc0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ class LLVMSymbolizer {
247247
};
248248

249249
/// Parsed object file for each path/member/architecture triple.
250-
/// Used to cache objects extracted from containers (Mach-O universal binaries,
251-
/// archives).
250+
/// Used to cache objects extracted from containers (Mach-O universal
251+
/// binaries, archives).
252252
std::map<ContainerCacheKey, std::unique_ptr<ObjectFile>> ObjectFileCache;
253253

254254
Expected<object::Binary *>

llvm/lib/DebugInfo/Symbolize/Symbolize.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,8 @@ Expected<object::Binary *>
580580
LLVMSymbolizer::loadOrGetBinary(const std::string &ArchivePathKey,
581581
std::optional<StringRef> FullPathKey) {
582582
// If no separate cache key is provided, use the archive path itself.
583-
std::string FullPathKeyStr = FullPathKey ? FullPathKey->str() : ArchivePathKey;
583+
std::string FullPathKeyStr =
584+
FullPathKey ? FullPathKey->str() : ArchivePathKey;
584585
auto Pair = BinaryForPath.emplace(FullPathKeyStr, OwningBinary<Binary>());
585586
if (!Pair.second) {
586587
recordAccess(Pair.first->second);

0 commit comments

Comments
 (0)