mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Backtracing] Add ImageMap instead of just using an Array.
We want to be able to efficiently serialise lists of images, and to do so it makes most sense to create a separate `ImageMap` type. This also provides a useful place to put methods to e.g. find an image by address or by build ID. rdar://124913332
This commit is contained in:
@@ -29,6 +29,7 @@ set(RUNTIME_SOURCES
|
||||
ByteSwapping.swift
|
||||
CachingMemoryReader.swift
|
||||
CompactBacktrace.swift
|
||||
CompactImageMap.swift
|
||||
Compression.swift
|
||||
Context.swift
|
||||
CoreSymbolication.swift
|
||||
@@ -38,6 +39,9 @@ set(RUNTIME_SOURCES
|
||||
ElfImageCache.swift
|
||||
FramePointerUnwinder.swift
|
||||
Image.swift
|
||||
ImageMap.swift
|
||||
ImageMap+Darwin.swift
|
||||
ImageMap+Linux.swift
|
||||
ImageSource.swift
|
||||
Libc.swift
|
||||
LimitSequence.swift
|
||||
|
||||
Reference in New Issue
Block a user