This diff creates an empty XAR file and copies it into
__LLVM,__bundle. Follow-up work will actually populate the contents of
that XAR.
Details
Details
- Reviewers
 gkm - Group Reviewers
 Restricted Project - Commits
 - rGca6751043d88: [lld-macho] Initial groundwork for -bitcode_bundle
 
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Event Timeline
Comment Actions
Are there plans for an LLVM LIBXAR?
Not particularly. There are several good reasons to write one though:
- libxar's interface doesn't allow for *not* writing to disk
 - It doesn't support Windows
 - As mentioned in the other comment, it exposes a rather primitive C interface that is out of place in LLVM's C++
 
However... I don't think any of the above make it enough of a priority for the people currently working on LLD-MachO. I was actually considering proposing it as a GSoC project, but I see that the deadline for this year has passed. You're welcome to take a stab at it if you want :)
These headers already internally have C(++) compatibility.