mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
On Linux we use FileImageSource to read data from ELF images. We were doing this in a fairly naive manner, which turns out to be a performance issue with larger statically linked binaries on Linux. Change FileImageSource to use mmap() instead. rdar://117590155