This is an archive of the discontinued LLVM Phabricator instance.

Start to share SWIG interface files between languages.
ClosedPublic

Authored by brucem on Apr 23 2015, 1:52 AM.

Details

Summary

Move scripts/Python/interface to scripts/interface so that we
can start making iterative improvements towards sharing the
interface files between multiple languages (each of which would
have their own directory as now).

Diff Detail

Repository
rL LLVM

Event Timeline

brucem updated this revision to Diff 24276.Apr 23 2015, 1:52 AM
brucem retitled this revision from to Start to share SWIG interface files between languages..
brucem updated this object.
brucem edited the test plan for this revision. (Show Details)
brucem added reviewers: zturner, clayborg, emaste.
brucem added a subscriber: Unknown Object (MLST).

This leaves Python-specific stuff in the SWIG interface files (%pythoncode, etc). A subsequent step will be to isolate that via either #ifdef or trying to include it from separate files and making sure that the build process picks it all up correctly.

clayborg accepted this revision.Apr 23 2015, 9:36 AM
clayborg edited edge metadata.

Looks fine. We will need to update the Xcode project when you get this checked in, but I can do that.

This revision is now accepted and ready to land.Apr 23 2015, 9:36 AM
This revision was automatically updated to reflect the committed changes.

@clayborg: This has landed, so hopefully you can update the Xcode project. (If you could update it to call the Python scripts and get us closer to killing off the shell scripts, that'd be even better!)

lldb/trunk/scripts/Python/interface/SBValueList.i