Displaying 4 results from an estimated 4 matches for "is_executable_file".
2012 May 17
3
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
...Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120517/9ab7084f/attachment.obj>
-------------- next part --------------
To implement the FileOutputBuffer, I needed to add some more functions to llvm/Support/FileSystem.h, including:
is_writable_file()
is_executable_file()
set_file_executable()
unique_file_sized()
map_file_pages()
unmap_file_pages()
I've implemented the unix side for all these, but have the windows side just stubbed out.
I've also added a test case (unittests/Support/FileOutputBufferTest.cpp) which exercises FileOutputBuffer....
2012 May 18
0
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
...FileOutputBuffer (OutputBuffer was already taken). The patch supports the functionality listed below and I've tested that it works for lld.
>
> To implement the FileOutputBuffer, I needed to add some more functions to llvm/Support/FileSystem.h, including:
> is_writable_file()
> is_executable_file()
> set_file_executable()
For these parts I would like to follow
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3365.html#TOC
which is what the rest of the fs library is modeled after. So we would
use:
error_code permissions(const Twine &path, perms p);
If the name is confusin...
2012 May 08
0
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
On May 8, 2012, at 4:08 PM, Nick Kledzik <kledzik at apple.com> wrote:
>
> On May 8, 2012, at 3:41 PM, Michael Spencer wrote:
>
>> On Mon, May 7, 2012 at 12:56 PM, Nick Kledzik <kledzik at apple.com> wrote:
>>> For the reasons listed in my 03-May-2012 email, I am proposing a new
>>> llvm/Support class for using in writing binary files:
>>>
2012 May 08
3
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
On May 8, 2012, at 3:41 PM, Michael Spencer wrote:
> On Mon, May 7, 2012 at 12:56 PM, Nick Kledzik <kledzik at apple.com> wrote:
>> For the reasons listed in my 03-May-2012 email, I am proposing a new
>> llvm/Support class for using in writing binary files:
>>
>> /// OutputBuffer - This interface provides simple way to create an in-memory
>> /// buffer