search for: f_execut

Displaying 10 results from an estimated 10 matches for "f_execut".

Did you mean: execut
2012 May 07
4
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
...e /// file. /// If the OutputBuffer is committed, the target file's content will become /// the buffer content at the time of the commit. If the OutputBuffer is not /// committed, the file will be deleted in the OutputBuffer buffer destructor. class OutputBuffer { public: enum Flags { F_executable = 1, /// set the 'x' bit on the resulting file }; /// Factory method to create an OutputBuffer object which manages a read/write /// buffer of the specified size. When committed, the buffer will be written /// to the file at the specified path. static error_code createFile...
2012 May 08
0
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
...the /// file. /// If the OutputBuffer is committed, the target file's content will become /// the buffer content at the time of the commit. If the OutputBuffer is not /// committed, the file will be deleted in the OutputBuffer buffer destructor. class OutputBuffer { public: enum Flags { F_executable = 1, /// set the 'x' bit on the resulting file }; /// Factory method to create an OutputBuffer object which manages a read/write /// buffer of the specified size. When committed, the buffer will be written /// to the file at the specified path. static error_code createFile(St...
2012 May 08
0
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
...s committed, the target file's content will become > /// the buffer content at the time of the commit.  If the OutputBuffer is > not > /// committed, the file will be deleted in the OutputBuffer > buffer destructor. > class OutputBuffer { > public: >   enum Flags { >     F_executable = 1, /// set the 'x' bit on the resulting file >   }; > >   /// Factory method to create an OutputBuffer object which manages a > read/write >   /// buffer of the specified size. When committed, the buffer will be > written >   /// to the file at the specified path....
2012 May 08
1
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
...Buffer is committed, the target file's content will become > /// the buffer content at the time of the commit. If the OutputBuffer is not > /// committed, the file will be deleted in the OutputBuffer buffer destructor. > class OutputBuffer { > public: > enum Flags { > F_executable = 1, /// set the 'x' bit on the resulting file > }; > > /// Factory method to create an OutputBuffer object which manages a read/write > /// buffer of the specified size. When committed, the buffer will be written > /// to the file at the specified path. >...
2012 May 08
3
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
...;s content will become >> /// the buffer content at the time of the commit. If the OutputBuffer is >> not >> /// committed, the file will be deleted in the OutputBuffer >> buffer destructor. >> class OutputBuffer { >> public: >> enum Flags { >> F_executable = 1, /// set the 'x' bit on the resulting file >> }; >> >> /// Factory method to create an OutputBuffer object which manages a >> read/write >> /// buffer of the specified size. When committed, the buffer will be >> written >> /// to th...
2012 May 08
0
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
...;> /// the buffer content at the time of the commit. If the OutputBuffer is >>> not >>> /// committed, the file will be deleted in the OutputBuffer >>> buffer destructor. >>> class OutputBuffer { >>> public: >>> enum Flags { >>> F_executable = 1, /// set the 'x' bit on the resulting file >>> }; >>> >>> /// Factory method to create an OutputBuffer object which manages a >>> read/write >>> /// buffer of the specified size. When committed, the buffer will be >>> written...
2012 May 18
0
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
...ommitted, the target file's content will become > +/// the buffer content at the time of the commit. If the FileOutputBuffer is > +/// not committed, the file will be deleted in the FileOutputBuffer destructor. > +class FileOutputBuffer { > +public: > + > + enum { > + F_executable = 1 /// set the 'x' bit on the resulting file > + }; > + > + /// Factory method to create an OutputBuffer object which manages a read/write > + /// buffer of the specified size. When committed, the buffer will be written > + /// to the file at the specified path. &gt...
2012 May 17
3
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
I now have an implementation of FileOutputBuffer (OutputBuffer was already taken). The patch supports the functionality listed below and I've tested that it works for lld. -------------- next part -------------- A non-text attachment was scrubbed... Name: FileOutputBuffer.patch Type: application/octet-stream Size: 25308 bytes Desc: not available URL:
2012 May 04
0
[LLVMdev] MemoryBuffer/raw_ostream hybrid for linker?
On May 3, 2012, at 6:10 PM, Nick Kledzik wrote: > Existing llvm code tends to use raw_ostream for writing files. But raw_ostream is not a good match for a linker for a couple of reasons: > > 1) When the linker creates an executable, the file needs the 'x' bit set. Currently raw_fd_ostream has no way to set that. If this were the only problem, I'd suggest just generalizing
2012 May 04
2
[LLVMdev] MemoryBuffer/raw_ostream hybrid for linker?
Existing llvm code tends to use raw_ostream for writing files. But raw_ostream is not a good match for a linker for a couple of reasons: 1) When the linker creates an executable, the file needs the 'x' bit set. Currently raw_fd_ostream has no way to set that. 2) The Unix conformance suite actually has some test cases where the linker is run and the output file does exists but is not