[swift-dev] How to `import` Linux system header info (e.g. <elf.h>)?
carl.brown.swift at linuxswift.com
Mon Jun 19 15:12:16 CDT 2017
I'm working on trying to get swift-remote-mirror working in Linux (with the eventual goal of getting better diagnostics like a cycle detection tool on Linux).
I'm currently trying to get a pointer to the ELF structure on Linux, and I can't figure out how to `import` it (e.g. what's the Linux equivalent of `import MachO`). I'm guessing there should be some module that includes the elf header information (in Clang or LLVM if nowhere else), but I can't find it.
Anyone have a minute to point me in the right direction?
More information about the swift-dev