diff options
| author | Lawrence D'Anna <lawrence_danna@apple.com> | 2019-10-15 16:46:27 +0000 | 
|---|---|---|
| committer | Lawrence D'Anna <lawrence_danna@apple.com> | 2019-10-15 16:46:27 +0000 | 
| commit | d9b553ec9961e95740535d3aeff62817f867767f (patch) | |
| tree | a20193fd70d7956369ddf7c7b75407b7273c597f /llvm/lib/Transforms/Utils | |
| parent | 1184c27fa586f8fe713921150146d433aae969ff (diff) | |
| download | bcm5719-llvm-d9b553ec9961e95740535d3aeff62817f867767f.tar.gz bcm5719-llvm-d9b553ec9961e95740535d3aeff62817f867767f.zip | |
SBFile::GetFile: convert SBFile back into python native files.
Summary:
This makes SBFile::GetFile public and adds a SWIG typemap to convert
the result back into a python native file.
If the underlying File itself came from a python file, it is returned
identically.   Otherwise a new python file object is created using
the file descriptor.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68737
llvm-svn: 374911
Diffstat (limited to 'llvm/lib/Transforms/Utils')
0 files changed, 0 insertions, 0 deletions

