Displaying 5 results from an estimated 5 matches for "isexecutable".
Did you mean:
is_executable
2003 May 20
1
Calling R in BATCH mode from C programm
Hello R-people,
I have the following problem :
In order to run R script from DOS prompt in BATCH mode and pass it some
parameters I do the following :
Rterm --slave --no-save --no-restore <args.R> args.out ARG1=1 ARG2=2
It works fine :
the result is that the script args.R is isexecuted. Sys.getenv() sees the
arguments ARG1 and ARG2, and the R creates output file args.out
Now I want
2005 Apr 20
3
[LLVMdev] misc CVS patches
......
Have you considered using bugpoint for your codegen debugging needs?
http://llvm.cs.uiuc.edu/docs/Bugpoint.html#codegendebug
> I've collected some small patches you might find useful.
Sweet!
> Please review and apply as you see fit.
I've applied your gccld patch.
For the isExecutable patch, you check to see if it's a file first before
calling access(), but that precludes that function being used on a
directory (which is a valid sys::Path object and could be queried for
being executable), so I think it's unnecessary. I also applied your
patch to ignore dangling symlinks...
2005 Apr 20
8
[LLVMdev] misc CVS patches
...tutorial ?
http://llvm.cs.uiuc.edu/docs/HowToSubmitABug.html
About the only thing we haven't gotten to `bugpoint' is front-end
miscompilations -- those test cases need to be narrowed down by hand,
but once your code is in LLVM bytecode, bugpoint can rip it into shreds.
> >For the isExecutable patch, you check to see if it's a file first before
> >calling access(), but that precludes that function being used on a
> >directory (which is a valid sys::Path object and could be queried for
> >being executable), so I think it's unnecessary.
>
> I'm pretty s...
2012 May 18
0
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
...er::F_executable));
> + // Start buffer with special header.
> + memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20);
> + // Commit buffer.
> + ASSERT_NO_ERROR(Buffer->commit());
> + }
> + // Verify file exists and is executable.
> + bool IsExecutable;
> + ASSERT_NO_ERROR(fs::is_executable_file(Twine(File4), IsExecutable));
> + EXPECT_TRUE(IsExecutable);
> +
> +
> + // Clean up.
> + uint32_t RemovedCount;
> + ASSERT_NO_ERROR(fs::remove_all(TestDirectory.str(), RemovedCount));
> +}
> +
> +
> +} // anonymous n...
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: